Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 249.5 MB / 257 MB, free: 6.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 174.7 kB / 316.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.3 MB / 0.5671 GB, free: 15.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008815/0.0008814, allocations: 86.52 kB / 0.6714 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.242e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2324, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7776/1.01, allocations: 131.6 MB / 1.014 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/1.01, allocations: 75.38 kB / 1.014 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001701/1.012, allocations: 0.6547 MB / 1.014 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/1.012, allocations: 4.75 kB / 1.014 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.012, allocations: 0 / 1.014 GB, free: 5.574 MB / 0.6355 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.0003467/1.012, allocations: 334.3 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.012, allocations: 12.03 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/1.013, allocations: 2.938 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/1.013, allocations: 167 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/1.013, allocations: 4 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/1.013, allocations: 4 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.79e-05/1.013, allocations: 11.69 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.547e-05/1.013, allocations: 41.19 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/1.013, allocations: 0 / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/1.013, allocations: 0 / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/1.013, allocations: 3.984 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/1.013, allocations: 247.9 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.943e-05/1.013, allocations: 25.81 kB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.404e-05/1.013, allocations: 16.28 kB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/1.013, allocations: 0 / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/1.013, allocations: 30.56 kB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/1.013, allocations: 0 / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001437/1.014, allocations: 45.05 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/1.014, allocations: 58.14 kB / 1.015 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/1.014, allocations: 89 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/1.014, allocations: 25.7 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/1.014, allocations: 87.31 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/1.014, allocations: 3.906 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/1.014, allocations: 0 / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.014, allocations: 318.4 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/1.014, allocations: 11.97 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.946e-05/1.014, allocations: 7.5 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.886e-05/1.014, allocations: 4 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.014, allocations: 0 / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.784e-05/1.014, allocations: 41.06 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/1.014, allocations: 4 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/1.014, allocations: 0 / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/1.014, allocations: 4 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/1.014, allocations: 12.08 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.014, allocations: 4 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/1.014, allocations: 4 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/1.014, allocations: 4 kB / 1.016 GB, free: 3.832 MB / 0.6355 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 (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 7.546e-05/1.014, allocations: 104.9 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/1.014, allocations: 0 / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/1.015, allocations: 56.14 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/1.015, allocations: 4.031 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/1.015, allocations: 3.984 kB / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.015, allocations: 4 kB / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/1.015, allocations: 134.2 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.015, allocations: 3.953 kB / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/1.015, allocations: 16.61 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/1.015, allocations: 0 / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/1.015, allocations: 0 / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.015, allocations: 3.938 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.015, allocations: 0 / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/1.015, allocations: 139.2 kB / 1.016 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/1.015, allocations: 88.98 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/1.015, allocations: 3.688 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/1.015, allocations: 8 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/1.015, allocations: 3.984 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/1.015, allocations: 0 / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.599e-05/1.015, allocations: 87.12 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.015, allocations: 0 / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002182/1.015, allocations: 4 kB / 1.017 GB, free: 3.113 MB / 0.6355 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 (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.0001359/1.016, allocations: 95.25 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.841e-05/1.016, allocations: 15.69 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.016, allocations: 0 / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/1.016, allocations: 4 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/1.016, allocations: 10.69 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001973/1.016, allocations: 63.58 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/1.016, allocations: 0.6807 MB / 1.017 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.793e-05/1.016, allocations: 3.984 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/1.016, allocations: 7.438 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.016, allocations: 0 / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of Templates: time 0.002046/1.019, allocations: 333.6 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches