Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001045, allocations: 177.1 kB / 498.1 MB, free: 5.754 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.516/1.516, allocations: 223.2 MB / 0.7949 GB, free: 18.89 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.0009422/0.0009423, allocations: 92.27 kB / 0.9346 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003916, allocations: 12.47 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.317, allocations: 142.3 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2095/0.5266, allocations: 148.8 MB / 1.368 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.5269, allocations: 71.95 kB / 1.368 GB, free: 4.52 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00189/0.5288, allocations: 0.6376 MB / 1.369 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of FrontEnd: time 6.662e-06/0.5288, allocations: 0 / 1.369 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.5288, allocations: 3.938 kB / 1.369 GB, free: 3.875 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004387/0.5293, allocations: 343.2 kB / 1.369 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.5293, allocations: 12.03 kB / 1.369 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.5294, allocations: 0 / 1.369 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.5296, allocations: 167 kB / 1.369 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.5296, allocations: 8 kB / 1.369 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.5296, allocations: 3.984 kB / 1.369 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.5298, allocations: 53.67 kB / 1.369 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.5298, allocations: 0 / 1.369 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.5298, allocations: 0 / 1.369 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5299, allocations: 0 / 1.369 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.5301, allocations: 47.91 kB / 1.37 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.5305, allocations: 270.9 kB / 1.37 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.5307, allocations: 42.62 kB / 1.37 GB, free: 2.797 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.5307, allocations: 4 kB / 1.37 GB, free: 2.793 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.5307, allocations: 34.56 kB / 1.37 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.5307, allocations: 0 / 1.37 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004034/0.5312, allocations: 97.58 kB / 1.37 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.5312, allocations: 51.41 kB / 1.37 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.398e-05/0.5313, allocations: 101 kB / 1.37 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.5313, allocations: 29.83 kB / 1.37 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.5315, allocations: 84.05 kB / 1.37 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.5315, allocations: 0 / 1.37 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.5315, allocations: 4 kB / 1.37 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5316, allocations: 314.8 kB / 1.371 GB, free: 2.039 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.541e-05/0.5317, allocations: 23.97 kB / 1.371 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.5318, allocations: 23.98 kB / 1.371 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.372e-05/0.5319, allocations: 19.98 kB / 1.371 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5319, allocations: 3.938 kB / 1.371 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002134/0.5322, allocations: 89.56 kB / 1.371 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.5322, allocations: 4 kB / 1.371 GB, free: 1.871 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5322, allocations: 4 kB / 1.371 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.5322, allocations: 0 / 1.371 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.5323, allocations: 11.98 kB / 1.371 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.5323, allocations: 0 / 1.371 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.689e-05/0.5324, allocations: 15.97 kB / 1.371 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.5324, allocations: 0 / 1.371 GB, free: 1.84 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 (2): * Single equations (assignments): 2 * 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.129e-05/0.5325, allocations: 113.8 kB / 1.371 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.5325, allocations: 0 / 1.371 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.5328, allocations: 84.78 kB / 1.371 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.5328, allocations: 4 kB / 1.371 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.5328, allocations: 4 kB / 1.371 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.5328, allocations: 0 / 1.371 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.533, allocations: 161.6 kB / 1.371 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.533, allocations: 3.984 kB / 1.371 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/0.5331, allocations: 8 kB / 1.371 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.5331, allocations: 0 / 1.371 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.5331, allocations: 7.969 kB / 1.371 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.5331, allocations: 0 / 1.371 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5331, allocations: 0 / 1.371 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.5334, allocations: 179.5 kB / 1.371 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.5334, allocations: 85 kB / 1.371 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.5334, allocations: 0 / 1.371 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.892e-05/0.5335, allocations: 8 kB / 1.371 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.5336, allocations: 3.984 kB / 1.371 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.5336, allocations: 0 / 1.371 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.063e-05/0.5336, allocations: 83.45 kB / 1.371 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5336, allocations: 0 / 1.371 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000207/0.5339, allocations: 12.03 kB / 1.371 GB, free: 0.9961 MB / 0.8698 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 (2): * Single equations (assignments): 2 * 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.0001575/0.534, allocations: 107 kB / 1.372 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.5342, allocations: 43.95 kB / 1.372 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5343, allocations: 4.062 kB / 1.372 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.635e-05/0.5343, allocations: 19.98 kB / 1.372 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.5346, allocations: 11.95 kB / 1.372 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.5349, allocations: 108.7 kB / 1.372 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.5352, allocations: 0.6811 MB / 1.372 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.481e-05/0.5352, allocations: 0 / 1.372 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.5353, allocations: 7.438 kB / 1.372 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of SimCode: time 3.71e-07/0.5353, allocations: 7.875 kB / 1.372 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of Templates: time 0.002402/0.5377, allocations: 348.3 kB / 1.373 GB, free: 15.61 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches