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.001143/0.001142, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.00108/0.00108, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.409/1.409, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.35/2.35, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 67.91 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9377/0.9394, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.002156/0.9416, allocations: 0.7011 MB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.9427, allocations: 0.8073 MB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.9427, allocations: 4 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.9427, allocations: 0.6562 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.168e-05/0.9428, allocations: 10.81 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.943, allocations: 13.3 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.9431, allocations: 45.77 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.9432, allocations: 10.89 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.9433, allocations: 16.88 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.9434, allocations: 23.06 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.9434, allocations: 7.281 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.599e-05/0.9435, allocations: 4.375 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.9435, allocations: 7.328 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.9435, allocations: 17.66 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.9437, allocations: 47.92 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.9437, allocations: 1.312 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9437, allocations: 0 / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.9437, allocations: 0 / 1.09 GB, free: 4.355 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.0005196/0.9442, allocations: 368.3 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.9443, allocations: 9.312 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.9443, allocations: 6.938 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.913e-05/0.9444, allocations: 165.4 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.9444, allocations: 2.594 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.9445, allocations: 6.062 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.9447, allocations: 68.84 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.9447, allocations: 0.7031 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.9448, allocations: 7.938 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.9448, allocations: 1.188 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.9451, allocations: 71.64 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.9454, allocations: 264.9 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.9456, allocations: 64.22 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.9458, allocations: 36.33 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.9458, allocations: 1.641 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.9458, allocations: 31.22 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.983e-06/0.9459, allocations: 1.062 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005545/0.9464, allocations: 133 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.9464, allocations: 51.41 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.138e-05/0.9465, allocations: 107.3 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.9465, allocations: 26.41 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.9466, allocations: 91.16 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.9466, allocations: 18.31 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.9466, allocations: 13.83 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.742e-05/0.9467, allocations: 317.6 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.9469, allocations: 26.84 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.947, allocations: 30.53 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.9473, allocations: 74.88 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9473, allocations: 4 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003333/0.9476, allocations: 102.5 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.9477, allocations: 5.5 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9477, allocations: 5.297 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.9477, allocations: 0 / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.9479, allocations: 16.61 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.9479, allocations: 0 / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.278e-05/0.948, allocations: 11.55 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.948, allocations: 1.953 kB / 1.092 GB, free: 2.582 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.976e-05/0.948, allocations: 113.2 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.9481, allocations: 17.31 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.9485, allocations: 104.9 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.9485, allocations: 384 / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.9485, allocations: 0.75 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.9485, allocations: 79.31 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.9485, allocations: 1.578 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.9487, allocations: 19.06 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.9487, allocations: 12.42 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004278/0.9491, allocations: 186.8 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003978/0.9496, allocations: 274 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001727/0.9497, allocations: 37.58 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.9498, allocations: 88.28 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of Backend: time 1.7e-07/0.9498, allocations: 0.5938 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005446/0.9503, allocations: 122.3 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0005033/0.9509, allocations: 0.5653 MB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of Templates: time 0.003814/0.9547, allocations: 0.8477 MB / 1.095 GB, free: 1.125 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