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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001724/0.001724, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001939/0.001939, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.428/1.428, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.527/2.527, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 71.88 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108/1.109, allocations: 140.3 MB / 0.9491 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002708/1.112, allocations: 1.287 MB / 0.9503 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002731/1.112, allocations: 50.8 kB / 0.9504 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/1.113, allocations: 0 / 0.9504 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/1.113, allocations: 1.656 kB / 0.9504 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/1.113, allocations: 13.84 kB / 0.9504 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/1.113, allocations: 2.75 kB / 0.9504 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.793e-05/1.113, allocations: 24.58 kB / 0.9504 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.042e-05/1.113, allocations: 1.562 kB / 0.9504 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.989e-05/1.113, allocations: 8.641 kB / 0.9504 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.519e-05/1.113, allocations: 11.38 kB / 0.9505 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/1.113, allocations: 0 / 0.9505 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.973e-05/1.113, allocations: 8.047 kB / 0.9505 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.947e-05/1.113, allocations: 48.3 kB / 0.9505 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/1.113, allocations: 46.09 kB / 0.9505 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/1.114, allocations: 78.19 kB / 0.9506 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.114, allocations: 0 / 0.9506 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.536e-06/1.114, allocations: 1.625 kB / 0.9506 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.155e-05/1.114, allocations: 0 / 0.9506 GB, free: 7.988 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.0004229/1.114, allocations: 426.2 kB / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.114, allocations: 9.688 kB / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/1.114, allocations: 87.38 kB / 0.9511 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/1.114, allocations: 269 kB / 0.9514 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/1.114, allocations: 154.6 kB / 0.9515 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/1.114, allocations: 152 kB / 0.9517 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.825e-05/1.115, allocations: 105 kB / 0.9518 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/1.115, allocations: 76.62 kB / 0.9518 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/1.115, allocations: 150.6 kB / 0.952 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/1.115, allocations: 158.5 kB / 0.9521 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.294e-05/1.115, allocations: 155.8 kB / 0.9523 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/1.115, allocations: 0.4884 MB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.693e-05/1.115, allocations: 166.3 kB / 0.9529 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/1.115, allocations: 84.14 kB / 0.953 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/1.115, allocations: 75.28 kB / 0.9531 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/1.115, allocations: 119.1 kB / 0.9532 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/1.115, allocations: 0 / 0.9532 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.38e-05/1.115, allocations: 37.67 kB / 0.9532 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/1.115, allocations: 128.2 kB / 0.9533 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/1.116, allocations: 236.4 kB / 0.9536 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/1.116, allocations: 25.7 kB / 0.9536 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/1.116, allocations: 110.9 kB / 0.9537 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-06/1.116, allocations: 0 / 0.9537 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/1.116, allocations: 35.58 kB / 0.9537 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.318e-05/1.116, allocations: 334.9 kB / 0.9541 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.262e-05/1.116, allocations: 53.09 kB / 0.9541 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-05/1.116, allocations: 57.64 kB / 0.9542 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/1.116, allocations: 138 kB / 0.9543 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.116, allocations: 4.031 kB / 0.9543 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004142/1.117, allocations: 176.8 kB / 0.9545 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/1.117, allocations: 5.656 kB / 0.9545 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/1.117, allocations: 3.984 kB / 0.9545 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/1.117, allocations: 0 / 0.9545 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.747e-06/1.117, allocations: 1.219 kB / 0.9545 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/1.117, allocations: 0 / 0.9545 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/1.117, allocations: 18.67 kB / 0.9545 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/1.117, allocations: 12.75 kB / 0.9545 GB, free: 4.234 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.0001209/1.117, allocations: 209.1 kB / 0.9547 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/1.117, allocations: 112.9 kB / 0.9548 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/1.117, allocations: 117.8 kB / 0.9549 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.789e-05/1.117, allocations: 185.5 kB / 0.9551 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.092e-05/1.117, allocations: 177.4 kB / 0.9553 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.859e-05/1.117, allocations: 177.8 kB / 0.9554 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/1.117, allocations: 444.8 kB / 0.9559 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/1.117, allocations: 106.2 kB / 0.956 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/1.117, allocations: 108.9 kB / 0.9561 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.158e-05/1.117, allocations: 178.1 kB / 0.9562 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/1.118, allocations: 176.3 kB / 0.9564 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.72e-05/1.118, allocations: 185.2 kB / 0.9566 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-05/1.118, allocations: 181.8 kB / 0.9568 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/1.118, allocations: 318.7 kB / 0.9571 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.185e-05/1.118, allocations: 188.8 kB / 0.9572 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.391e-05/1.118, allocations: 193.8 kB / 0.9574 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/1.118, allocations: 106.6 kB / 0.9575 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/1.118, allocations: 185.5 kB / 0.9577 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/1.118, allocations: 105 kB / 0.9578 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000151/1.118, allocations: 169 kB / 0.958 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.118, allocations: 0 / 0.958 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002773/1.119, allocations: 22.59 kB / 0.958 GB, free: 0.5664 MB / 0.7169 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.0001944/1.119, allocations: 180.6 kB / 0.9582 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001926/1.119, allocations: 83.47 kB / 0.9582 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.119, allocations: 4 kB / 0.9582 GB, free: 364 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-06/1.119, allocations: 1.281 kB / 0.9582 GB, free: 364 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/1.119, allocations: 456.8 kB / 0.9587 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/1.12, allocations: 316.6 kB / 0.959 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/1.12, allocations: 0.7161 MB / 0.9597 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.698e-05/1.12, allocations: 8.578 kB / 0.9597 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/1.12, allocations: 9.781 kB / 0.9597 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/1.12, allocations: 0.9688 kB / 0.9597 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.00363/1.124, allocations: 0.7359 MB / 0.9604 GB, free: 14.52 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/jenkins/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