Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.431/2.431, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.00107/0.00107, allocations: 187.9 kB / 0.4902 GB, free: 2.254 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.621/1.621, 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.0009296/0.0009296, allocations: 104.6 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003864, allocations: 14.62 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.319, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.517, allocations: 149.7 MB / 1.375 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.5173, allocations: 71.95 kB / 1.376 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003601/0.5209, allocations: 1.139 MB / 1.377 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5209, allocations: 0 / 1.377 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.5209, allocations: 0 / 1.377 GB, free: 2.648 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000513/0.5215, allocations: 379.1 kB / 1.377 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.5215, allocations: 8.562 kB / 1.377 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.5216, allocations: 4 kB / 1.377 GB, free: 2.219 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.5217, allocations: 178.8 kB / 1.377 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.5217, allocations: 4 kB / 1.377 GB, free: 2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.5218, allocations: 4 kB / 1.377 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.522, allocations: 97.5 kB / 1.377 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.522, allocations: 4 kB / 1.377 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.5221, allocations: 0 / 1.377 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5221, allocations: 0 / 1.377 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.5223, allocations: 75.94 kB / 1.377 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.5229, allocations: 352.7 kB / 1.378 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.5232, allocations: 90.47 kB / 1.378 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.5232, allocations: 4 kB / 1.378 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.5233, allocations: 34.59 kB / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.5233, allocations: 0 / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.0004977/0.5238, allocations: 157.6 kB / 1.378 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.5238, allocations: 55.41 kB / 1.378 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.868e-05/0.5239, allocations: 109 kB / 1.378 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.5239, allocations: 25.81 kB / 1.378 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.524, allocations: 96.08 kB / 1.378 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.524, allocations: 19.64 kB / 1.378 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/0.5241, allocations: 8 kB / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.5242, allocations: 314.8 kB / 1.379 GB, free: 476 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.5243, allocations: 35.97 kB / 1.379 GB, free: 440 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.5244, allocations: 35.97 kB / 1.379 GB, free: 404 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.5245, allocations: 35.98 kB / 1.379 GB, free: 368 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5245, allocations: 0 / 1.379 GB, free: 368 kB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002739/0.5248, allocations: 113.5 kB / 1.379 GB, free: 248 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5248, allocations: 6.031 kB / 1.379 GB, free: 244 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5249, allocations: 0 / 1.379 GB, free: 244 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.5249, allocations: 11.94 kB / 1.379 GB, free: 232 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.525, allocations: 19.97 kB / 1.379 GB, free: 212 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5251, allocations: 7.891 kB / 1.379 GB, free: 204 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.5252, allocations: 12 kB / 1.379 GB, free: 192 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.5252, allocations: 3.984 kB / 1.379 GB, free: 188 kB / 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 (6): * Single equations (assignments): 6 * 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 8.588e-05/0.5253, allocations: 113.8 kB / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.5253, allocations: 8 kB / 1.379 GB, free: 56 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.5254, allocations: 8.375 kB / 1.379 GB, free: 44 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5254, allocations: 0 / 1.379 GB, free: 44 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5254, allocations: 0 / 1.379 GB, free: 44 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.5254, allocations: 7.953 kB / 1.379 GB, free: 36 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.5256, allocations: 197.5 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5256, allocations: 0 / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.5257, allocations: 16.42 kB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5257, allocations: 0 / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.5258, allocations: 8 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5258, allocations: 8 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5258, allocations: 0 / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.5261, allocations: 211.4 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.5262, allocations: 89 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.5262, allocations: 0 / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.5263, allocations: 8 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/0.5264, allocations: 15.97 kB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.5264, allocations: 4 kB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.055e-05/0.5265, allocations: 99.2 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5265, allocations: 0 / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002167/0.5267, allocations: 12 kB / 1.38 GB, free: 15.3 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 (6): * Single equations (assignments): 6 * 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.0001893/0.5269, allocations: 108 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002922/0.5272, allocations: 83.88 kB / 1.38 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5272, allocations: 0 / 1.38 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.5274, allocations: 47.97 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.5276, allocations: 13.33 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.528, allocations: 188.4 kB / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.5283, allocations: 0.6965 MB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.262e-05/0.5284, allocations: 8.172 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.5284, allocations: 19.42 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/0.5285, allocations: 4 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of Templates: time 0.003276/0.5317, allocations: 1.042 MB / 1.382 GB, free: 13.04 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches