Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.319/2.319, allocations: 390.3 MB / 402.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 176.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 221.3 MB / 0.7915 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009076/0.0009076, allocations: 83.98 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.856e-05/3.86e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3388, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.43, allocations: 149.6 MB / 1.365 GB, free: 4.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/1.43, allocations: 67.8 kB / 1.365 GB, free: 4.445 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002188/1.433, allocations: 0.8035 MB / 1.366 GB, free: 3.699 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.623e-06/1.433, allocations: 4 kB / 1.366 GB, free: 3.695 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.558e-06/1.433, allocations: 4 kB / 1.366 GB, free: 3.691 MB / 0.823 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.000437/1.433, allocations: 357.5 kB / 1.366 GB, free: 3.305 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/1.433, allocations: 8.031 kB / 1.366 GB, free: 3.297 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/1.433, allocations: 8.531 kB / 1.366 GB, free: 3.289 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/1.433, allocations: 175 kB / 1.366 GB, free: 3.078 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/1.433, allocations: 0 / 1.366 GB, free: 3.078 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/1.433, allocations: 0 / 1.366 GB, free: 3.078 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/1.433, allocations: 48.81 kB / 1.366 GB, free: 3.031 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/1.433, allocations: 0 / 1.366 GB, free: 3.031 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/1.433, allocations: 0 / 1.366 GB, free: 3.031 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.433, allocations: 0 / 1.366 GB, free: 3.031 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.869e-05/1.434, allocations: 19.56 kB / 1.366 GB, free: 3.02 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/1.434, allocations: 317.2 kB / 1.367 GB, free: 2.676 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.136e-05/1.434, allocations: 33.39 kB / 1.367 GB, free: 2.641 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/1.434, allocations: 11.8 kB / 1.367 GB, free: 2.629 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/1.434, allocations: 4 kB / 1.367 GB, free: 2.625 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/1.434, allocations: 38.5 kB / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/1.434, allocations: 0 / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001806/1.434, allocations: 53.31 kB / 1.367 GB, free: 2.527 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/1.435, allocations: 59.3 kB / 1.367 GB, free: 2.457 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.107e-05/1.435, allocations: 101.2 kB / 1.367 GB, free: 2.355 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/1.435, allocations: 29.52 kB / 1.367 GB, free: 2.324 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/1.435, allocations: 84.12 kB / 1.367 GB, free: 2.238 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/1.435, allocations: 15.28 kB / 1.367 GB, free: 2.227 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/1.435, allocations: 0 / 1.367 GB, free: 2.227 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.435, allocations: 310.8 kB / 1.367 GB, free: 1.914 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/1.435, allocations: 7.5 kB / 1.367 GB, free: 1.91 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.497e-05/1.435, allocations: 14.12 kB / 1.367 GB, free: 1.902 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.033e-05/1.435, allocations: 14.08 kB / 1.367 GB, free: 1.891 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.435, allocations: 0 / 1.367 GB, free: 1.891 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.246e-05/1.435, allocations: 59.17 kB / 1.367 GB, free: 1.84 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.435, allocations: 4 kB / 1.367 GB, free: 1.836 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.435, allocations: 4 kB / 1.367 GB, free: 1.832 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/1.435, allocations: 0 / 1.367 GB, free: 1.832 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/1.435, allocations: 27.91 kB / 1.367 GB, free: 1.805 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.435, allocations: 0 / 1.367 GB, free: 1.805 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.915e-05/1.435, allocations: 19.94 kB / 1.367 GB, free: 1.785 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/1.435, allocations: 0 / 1.367 GB, free: 1.785 MB / 0.823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/1.435, allocations: 109 kB / 1.368 GB, free: 1.672 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/1.436, allocations: 0 / 1.368 GB, free: 1.672 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/1.436, allocations: 67.92 kB / 1.368 GB, free: 1.605 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/1.436, allocations: 0 / 1.368 GB, free: 1.605 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.436, allocations: 0 / 1.368 GB, free: 1.605 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.436, allocations: 0 / 1.368 GB, free: 1.605 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/1.436, allocations: 168.7 kB / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.436, allocations: 0 / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/1.436, allocations: 38.97 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.436, allocations: 0 / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/1.436, allocations: 0 / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.436, allocations: 0 / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.436, allocations: 0 / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/1.436, allocations: 146.6 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/1.436, allocations: 85.02 kB / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/1.436, allocations: 7.188 kB / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/1.436, allocations: 15.98 kB / 1.368 GB, free: 1.09 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/1.436, allocations: 3.984 kB / 1.368 GB, free: 1.086 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/1.436, allocations: 4 kB / 1.368 GB, free: 1.082 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.23e-05/1.437, allocations: 83.03 kB / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.437, allocations: 3.938 kB / 1.368 GB, free: 1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002081/1.437, allocations: 11.94 kB / 1.368 GB, free: 0.9883 MB / 0.823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00019/1.437, allocations: 104.2 kB / 1.368 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001146/1.437, allocations: 30.44 kB / 1.368 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.437, allocations: 0 / 1.368 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/1.437, allocations: 11.25 kB / 1.368 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/1.437, allocations: 8.641 kB / 1.368 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/1.438, allocations: 79.28 kB / 1.368 GB, free: 0.75 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/1.438, allocations: 0.6848 MB / 1.369 GB, free: 40 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.132e-05/1.438, allocations: 0 / 1.369 GB, free: 40 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/1.438, allocations: 11.44 kB / 1.369 GB, free: 32 kB / 0.823 GB Notification: Performance of SimCode: time 3.81e-07/1.438, allocations: 0 / 1.369 GB, free: 32 kB / 0.823 GB Notification: Performance of Templates: time 0.002914/1.441, allocations: 0.5348 MB / 1.37 GB, free: 15.51 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches