Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.009928/0.009929, allocations: 99.45 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00201/0.002011, allocations: 193.7 kB / 16.68 MB, free: 5.969 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.532/1.532, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 60.12 kB / 1.018 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409/1.411, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002994/1.414, allocations: 1.211 MB / 1.168 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000374/1.414, allocations: 53.67 kB / 1.168 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/1.414, allocations: 0 / 1.168 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.609e-05/1.414, allocations: 7.938 kB / 1.168 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001625/1.415, allocations: 3.984 kB / 1.168 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/1.415, allocations: 19.92 kB / 1.168 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/1.415, allocations: 11.98 kB / 1.168 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.441e-05/1.415, allocations: 4 kB / 1.168 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.064e-05/1.415, allocations: 4 kB / 1.168 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.793e-05/1.415, allocations: 20.66 kB / 1.168 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/1.415, allocations: 0 / 1.168 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/1.415, allocations: 4 kB / 1.168 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/1.415, allocations: 56.38 kB / 1.168 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.183e-05/1.416, allocations: 35.75 kB / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/1.416, allocations: 72.09 kB / 1.168 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.416, allocations: 0 / 1.168 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.855e-06/1.416, allocations: 0 / 1.168 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.086e-06/1.416, allocations: 0 / 1.168 GB, free: 2.297 MB / 0.8887 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.0006086/1.416, allocations: 434.6 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/1.416, allocations: 12.62 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/1.417, allocations: 88.12 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/1.417, allocations: 275.4 kB / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.492e-05/1.417, allocations: 154.7 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/1.417, allocations: 150.6 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/1.417, allocations: 105 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/1.417, allocations: 75.28 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.599e-05/1.417, allocations: 158.5 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.464e-05/1.417, allocations: 150.6 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.057e-05/1.417, allocations: 154.6 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/1.418, allocations: 0.4899 MB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/1.418, allocations: 179.5 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/1.418, allocations: 88.12 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/1.418, allocations: 79.22 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/1.418, allocations: 105.8 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/1.418, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001087/1.418, allocations: 37.61 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/1.418, allocations: 130.7 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/1.418, allocations: 231.1 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/1.419, allocations: 25.7 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/1.419, allocations: 112.1 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/1.419, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/1.419, allocations: 41.69 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.419, allocations: 322.8 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.128e-05/1.419, allocations: 59.91 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.61e-05/1.419, allocations: 61.02 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/1.419, allocations: 142.1 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.419, allocations: 0 / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003853/1.42, allocations: 178.2 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.42, allocations: 4 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/1.42, allocations: 0 / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/1.42, allocations: 0 / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/1.42, allocations: 0 / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/1.42, allocations: 0 / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/1.42, allocations: 15.84 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/1.42, allocations: 4 kB / 1.172 GB, free: 14.07 MB / 0.9044 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.0001523/1.42, allocations: 213 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.05e-05/1.42, allocations: 116.9 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.857e-05/1.42, allocations: 113.5 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.107e-05/1.42, allocations: 184.2 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.498e-05/1.42, allocations: 176.3 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.303e-05/1.42, allocations: 180.3 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/1.421, allocations: 445.1 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.044e-05/1.421, allocations: 101 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/1.421, allocations: 108.9 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.375e-05/1.421, allocations: 180.3 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.552e-05/1.421, allocations: 188.2 kB / 1.174 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001/1.421, allocations: 180.2 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.883e-05/1.421, allocations: 176.3 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/1.421, allocations: 331.5 kB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/1.421, allocations: 197.9 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/1.422, allocations: 180.3 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/1.422, allocations: 109.2 kB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/1.422, allocations: 180.2 kB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/1.422, allocations: 101 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001443/1.422, allocations: 156.6 kB / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.422, allocations: 0 / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002877/1.422, allocations: 20 kB / 1.175 GB, free: 10.29 MB / 0.9044 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.00024/1.422, allocations: 182.5 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001824/1.423, allocations: 87.84 kB / 1.176 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.423, allocations: 0 / 1.176 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-06/1.423, allocations: 4 kB / 1.176 GB, free: 10 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/1.423, allocations: 459.8 kB / 1.176 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/1.424, allocations: 305.9 kB / 1.176 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/1.424, allocations: 0.7052 MB / 1.177 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.42e-05/1.424, allocations: 11.98 kB / 1.177 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/1.424, allocations: 7.438 kB / 1.177 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of SimCode: time 1.392e-06/1.424, allocations: 4 kB / 1.177 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of Templates: time 0.003626/1.428, allocations: 0.7343 MB / 1.178 GB, free: 7.738 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches