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.236/2.236, allocations: 393.5 MB / 408.4 MB, free: 11 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.00122/0.00122, allocations: 180 kB / 0.4902 GB, free: 2.277 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.667/1.667, allocations: 223.2 MB / 0.7992 GB, free: 14.75 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.0009563/0.0009564, allocations: 96.08 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003885, allocations: 10.44 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.31, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.5046, allocations: 149.6 MB / 1.375 GB, free: 3.996 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.5048, allocations: 71.95 kB / 1.375 GB, free: 3.926 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002186/0.507, allocations: 0.7981 MB / 1.376 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.353e-06/0.507, allocations: 4 kB / 1.376 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.5071, allocations: 0 / 1.376 GB, free: 3.117 MB / 0.8698 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.0004453/0.5075, allocations: 367.2 kB / 1.377 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.5076, allocations: 8.562 kB / 1.377 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.5076, allocations: 4 kB / 1.377 GB, free: 2.699 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.5077, allocations: 182.8 kB / 1.377 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.5078, allocations: 7.938 kB / 1.377 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.5078, allocations: 0 / 1.377 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.508, allocations: 77.66 kB / 1.377 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.508, allocations: 0 / 1.377 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.5081, allocations: 4 kB / 1.377 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.5081, allocations: 0 / 1.377 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.5084, allocations: 87.92 kB / 1.377 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.5089, allocations: 304.8 kB / 1.377 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.5091, allocations: 67.52 kB / 1.377 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.5091, allocations: 0 / 1.377 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.5092, allocations: 42.56 kB / 1.377 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.5092, allocations: 0 / 1.377 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0006057/0.5098, allocations: 161.6 kB / 1.377 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.5098, allocations: 51.41 kB / 1.377 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.552e-05/0.5099, allocations: 108.8 kB / 1.378 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.5099, allocations: 33.7 kB / 1.378 GB, free: 1.449 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.51, allocations: 88.12 kB / 1.378 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.51, allocations: 11.89 kB / 1.378 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.51, allocations: 0 / 1.378 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.5101, allocations: 314.8 kB / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.5103, allocations: 43.95 kB / 1.378 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.5104, allocations: 39.97 kB / 1.378 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.5106, allocations: 47.95 kB / 1.378 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5106, allocations: 0 / 1.378 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003318/0.5109, allocations: 125.5 kB / 1.378 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5109, allocations: 4 kB / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5109, allocations: 0 / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.511, allocations: 0 / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.5111, allocations: 19.98 kB / 1.378 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.5111, allocations: 4 kB / 1.378 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.5112, allocations: 27.91 kB / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.5112, allocations: 7.953 kB / 1.378 GB, free: 0.7109 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.882e-05/0.5113, allocations: 106.4 kB / 1.378 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.5113, allocations: 4 kB / 1.378 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004039/0.5118, allocations: 125.8 kB / 1.379 GB, free: 476 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.5118, allocations: 8.031 kB / 1.379 GB, free: 468 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5118, allocations: 3.938 kB / 1.379 GB, free: 464 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5118, allocations: 4 kB / 1.379 GB, free: 460 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.512, allocations: 181.5 kB / 1.379 GB, free: 228 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.512, allocations: 0 / 1.379 GB, free: 228 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.5121, allocations: 15.98 kB / 1.379 GB, free: 212 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.5121, allocations: 4 kB / 1.379 GB, free: 208 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.5121, allocations: 0 / 1.379 GB, free: 208 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5121, allocations: 0 / 1.379 GB, free: 208 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5121, allocations: 4 kB / 1.379 GB, free: 204 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.5125, allocations: 223.4 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.5126, allocations: 77.11 kB / 1.379 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.5126, allocations: 4 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.5127, allocations: 11.98 kB / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.5128, allocations: 7.984 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.5128, allocations: 8 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.685e-05/0.5128, allocations: 83.28 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5128, allocations: 0 / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002016/0.513, allocations: 4 kB / 1.379 GB, free: 15.75 MB / 0.8855 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 (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.00017/0.5132, allocations: 112 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003422/0.5136, allocations: 87.92 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5136, allocations: 0 / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.5138, allocations: 47.97 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.514, allocations: 7.953 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.5143, allocations: 132.9 kB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.5146, allocations: 0.6848 MB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.331e-05/0.5146, allocations: 7.938 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.5147, allocations: 7.438 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of SimCode: time 6.61e-07/0.5147, allocations: 0 / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of Templates: time 0.002401/0.5171, allocations: 0.5176 MB / 1.381 GB, free: 14.1 MB / 0.8855 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