Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 108.4 kB / 16.41 MB, free: 6.496 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.00198/0.00198, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.305/2.305, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 63.91 kB / 0.9516 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8723/0.8746, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.001815/0.8765, allocations: 0.7061 MB / 1.089 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000814/0.8773, allocations: 0.8061 MB / 1.09 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.8773, allocations: 4.906 kB / 1.09 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.8774, allocations: 4.453 kB / 1.09 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-05/0.8775, allocations: 5.547 kB / 1.09 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.8776, allocations: 14.11 kB / 1.09 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.735e-05/0.8777, allocations: 40.12 kB / 1.09 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.8778, allocations: 17.69 kB / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.905e-05/0.8779, allocations: 17.86 kB / 1.09 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.893e-05/0.8779, allocations: 22.86 kB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.878, allocations: 4.188 kB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.604e-05/0.878, allocations: 6.969 kB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.878, allocations: 7.094 kB / 1.09 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.8781, allocations: 17.73 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.8782, allocations: 40.16 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8782, allocations: 0 / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8782, allocations: 1.688 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.8782, allocations: 0 / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004776/0.8787, allocations: 370.5 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8787, allocations: 9.062 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.8788, allocations: 7.688 kB / 1.091 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.207e-05/0.8789, allocations: 163.9 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.8789, allocations: 5.672 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.8789, allocations: 2.562 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.8792, allocations: 72.27 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.8792, allocations: 1.25 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.8792, allocations: 3.938 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.8792, allocations: 5.578 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.8795, allocations: 62 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.8798, allocations: 270.2 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.88, allocations: 59.94 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.8802, allocations: 40.25 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.8802, allocations: 1.578 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.8802, allocations: 40.03 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.8802, allocations: 0 / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005133/0.8808, allocations: 124.6 kB / 1.092 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.8808, allocations: 53.27 kB / 1.092 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.407e-05/0.8809, allocations: 106.3 kB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.8809, allocations: 38.83 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.8809, allocations: 82.69 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.8809, allocations: 18.56 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.881, allocations: 12.72 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.881, allocations: 318 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.8812, allocations: 31.16 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.8813, allocations: 35.47 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.8816, allocations: 70.81 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8816, allocations: 4.969 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003141/0.8819, allocations: 97.73 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.8819, allocations: 4.969 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.8819, allocations: 1.516 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.882, allocations: 0 / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.8821, allocations: 15.7 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.8821, allocations: 0.6562 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/0.8822, allocations: 11.83 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.8822, allocations: 0.8125 kB / 1.092 GB, free: 2.832 MB / 0.8575 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 (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 5.694e-05/0.8823, allocations: 124.7 kB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.8823, allocations: 6.219 kB / 1.093 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.8827, allocations: 101.1 kB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8827, allocations: 4.781 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8827, allocations: 0.875 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.8827, allocations: 0.6562 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.8828, allocations: 178.8 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8828, allocations: 0.7969 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.8829, allocations: 15.98 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8829, allocations: 0 / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.883, allocations: 0.9062 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.883, allocations: 0.5625 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.883, allocations: 4.781 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.8833, allocations: 202.5 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.8833, allocations: 83.19 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.8833, allocations: 0.6875 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.8835, allocations: 11.41 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.8835, allocations: 7.938 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.8835, allocations: 0.6875 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.305e-05/0.8836, allocations: 92.31 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8836, allocations: 0.625 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002159/0.8838, allocations: 7.109 kB / 1.093 GB, free: 2.102 MB / 0.8575 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 (3): * Single equations (assignments): 3 * 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.0001276/0.8839, allocations: 98.62 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.8843, allocations: 71.25 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8843, allocations: 4 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.8844, allocations: 38.97 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.8847, allocations: 13.48 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/0.885, allocations: 139.2 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.8851, allocations: 0.6812 MB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.8852, allocations: 14.09 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.8852, allocations: 0 / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of Templates: time 0.002388/0.8876, allocations: 0.7415 MB / 1.095 GB, free: 1.094 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches