Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 187.3 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.543/2.543, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004734, allocations: 8 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.039, allocations: 142.4 MB / 0.9557 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001734/1.041, allocations: 0.9402 MB / 0.9566 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000404/1.042, allocations: 52.83 kB / 0.9567 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/1.042, allocations: 0 / 0.9567 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.426e-05/1.042, allocations: 0 / 0.9567 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002466/1.042, allocations: 18.28 kB / 0.9567 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/1.042, allocations: 7.469 kB / 0.9567 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/1.042, allocations: 36.94 kB / 0.9567 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.166e-05/1.042, allocations: 5.391 kB / 0.9567 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/1.042, allocations: 3.812 kB / 0.9567 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.935e-05/1.043, allocations: 20.45 kB / 0.9568 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/1.043, allocations: 0 / 0.9568 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.298e-05/1.043, allocations: 3.781 kB / 0.9568 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/1.043, allocations: 48.19 kB / 0.9568 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/1.043, allocations: 66.36 kB / 0.9569 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/1.043, allocations: 45.41 kB / 0.9569 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.043, allocations: 0 / 0.9569 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/1.043, allocations: 0 / 0.9569 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.675e-06/1.043, allocations: 0 / 0.9569 GB, free: 6.711 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005148/1.044, allocations: 421.7 kB / 0.9573 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.612e-05/1.044, allocations: 9.375 kB / 0.9573 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.339e-05/1.044, allocations: 85.12 kB / 0.9574 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/1.044, allocations: 264.6 kB / 0.9577 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.433e-05/1.044, allocations: 154.5 kB / 0.9578 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/1.044, allocations: 155.8 kB / 0.958 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.853e-05/1.044, allocations: 105 kB / 0.9581 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/1.044, allocations: 75.28 kB / 0.9581 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/1.044, allocations: 156 kB / 0.9583 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/1.044, allocations: 154.6 kB / 0.9584 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.332e-05/1.044, allocations: 150.6 kB / 0.9586 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/1.045, allocations: 0.4974 MB / 0.9591 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.418e-05/1.045, allocations: 165.1 kB / 0.9592 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/1.045, allocations: 81.89 kB / 0.9593 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/1.045, allocations: 75.28 kB / 0.9594 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/1.045, allocations: 109.8 kB / 0.9595 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.045, allocations: 0 / 0.9595 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.411e-05/1.045, allocations: 41.92 kB / 0.9595 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/1.045, allocations: 132.1 kB / 0.9596 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/1.045, allocations: 224.6 kB / 0.9599 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/1.045, allocations: 29.69 kB / 0.9599 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/1.046, allocations: 110.3 kB / 0.96 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/1.046, allocations: 0 / 0.96 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/1.046, allocations: 32.27 kB / 0.96 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.046, allocations: 330.8 kB / 0.9603 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/1.046, allocations: 53.31 kB / 0.9604 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/1.046, allocations: 56.86 kB / 0.9604 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/1.046, allocations: 133.7 kB / 0.9606 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.046, allocations: 3.938 kB / 0.9606 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004376/1.047, allocations: 189.7 kB / 0.9608 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.047, allocations: 4.594 kB / 0.9608 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/1.047, allocations: 0 / 0.9608 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/1.047, allocations: 1.156 kB / 0.9608 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-06/1.047, allocations: 4.062 kB / 0.9608 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.047, allocations: 1.219 kB / 0.9608 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/1.047, allocations: 13.72 kB / 0.9608 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/1.047, allocations: 13.31 kB / 0.9608 GB, free: 2.961 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001422/1.047, allocations: 201 kB / 0.961 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/1.047, allocations: 113.3 kB / 0.9611 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.948e-05/1.047, allocations: 121.7 kB / 0.9612 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.573e-05/1.047, allocations: 185.5 kB / 0.9614 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.867e-05/1.047, allocations: 185.2 kB / 0.9616 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.968e-05/1.047, allocations: 177.4 kB / 0.9617 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/1.048, allocations: 440.4 kB / 0.9621 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.137e-05/1.048, allocations: 106.2 kB / 0.9622 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/1.048, allocations: 106.4 kB / 0.9623 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-05/1.048, allocations: 180.2 kB / 0.9625 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-05/1.048, allocations: 181.5 kB / 0.9627 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.146e-05/1.048, allocations: 177.5 kB / 0.9629 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.615e-05/1.048, allocations: 185.5 kB / 0.963 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/1.048, allocations: 321.7 kB / 0.9633 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.85e-05/1.048, allocations: 193.5 kB / 0.9635 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/1.048, allocations: 181.3 kB / 0.9637 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/1.049, allocations: 110.2 kB / 0.9638 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.049, allocations: 177.5 kB / 0.964 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.518e-05/1.049, allocations: 110 kB / 0.9641 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001971/1.049, allocations: 168.6 kB / 0.9642 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.049, allocations: 0 / 0.9642 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000279/1.049, allocations: 21.84 kB / 0.9643 GB, free: 15.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002568/1.05, allocations: 181 kB / 0.9644 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002035/1.05, allocations: 79.47 kB / 0.9645 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.05, allocations: 0 / 0.9645 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-06/1.05, allocations: 5.531 kB / 0.9645 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/1.05, allocations: 0.5251 MB / 0.965 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006691/1.051, allocations: 345.2 kB / 0.9654 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/1.051, allocations: 0.7091 MB / 0.9661 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/1.051, allocations: 12.91 kB / 0.9661 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/1.051, allocations: 0 / 0.9661 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of Templates: time 0.004067/1.056, allocations: 1.106 MB / 0.9671 GB, free: 12.98 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches