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.516/2.516, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.0009599/0.00096, allocations: 165 kB / 492.3 MB, free: 0.5977 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.577/1.577, allocations: 221.3 MB / 0.7872 GB, free: 12.84 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.00101/0.00101, allocations: 83.73 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.48e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3023, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.352, allocations: 148.7 MB / 1.358 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/1.352, allocations: 68.11 kB / 1.358 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002283/1.355, allocations: 0.6519 MB / 1.358 GB, free: 34.69 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.615e-06/1.355, allocations: 3.938 kB / 1.358 GB, free: 34.69 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.324e-06/1.355, allocations: 0 / 1.358 GB, free: 34.69 MB / 0.8386 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.0002879/1.355, allocations: 332 kB / 1.359 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.355, allocations: 8.484 kB / 1.359 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/1.355, allocations: 8.438 kB / 1.359 GB, free: 34.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/1.355, allocations: 168.2 kB / 1.359 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/1.355, allocations: 3.938 kB / 1.359 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/1.355, allocations: 3.875 kB / 1.359 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/1.355, allocations: 35.52 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/1.355, allocations: 0 / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/1.355, allocations: 0 / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.355, allocations: 0 / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.831e-05/1.355, allocations: 14.47 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/1.356, allocations: 271.7 kB / 1.359 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.577e-05/1.356, allocations: 26.69 kB / 1.359 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/1.356, allocations: 13.28 kB / 1.359 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/1.356, allocations: 0 / 1.359 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/1.356, allocations: 35.22 kB / 1.359 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/1.356, allocations: 0 / 1.359 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001367/1.356, allocations: 41.94 kB / 1.359 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/1.356, allocations: 52.2 kB / 1.359 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.876e-05/1.356, allocations: 96.36 kB / 1.359 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/1.356, allocations: 25.7 kB / 1.359 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/1.356, allocations: 88.39 kB / 1.36 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/1.356, allocations: 4.469 kB / 1.36 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/1.356, allocations: 4.031 kB / 1.36 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/1.356, allocations: 316.3 kB / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/1.356, allocations: 7.75 kB / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.167e-05/1.356, allocations: 3.969 kB / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.833e-05/1.356, allocations: 10.64 kB / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.356, allocations: 0 / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.41e-05/1.356, allocations: 38.55 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/1.357, allocations: 7.844 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.357, allocations: 4.094 kB / 1.36 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/1.357, allocations: 4.031 kB / 1.36 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.162e-05/1.357, allocations: 11.17 kB / 1.36 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.357, allocations: 0 / 1.36 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/1.357, allocations: 10.67 kB / 1.36 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/1.357, allocations: 3.938 kB / 1.36 GB, free: 33.09 MB / 0.8386 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 5.222e-05/1.357, allocations: 106.3 kB / 1.36 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/1.357, allocations: 11.75 kB / 1.36 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.65e-05/1.357, allocations: 46.72 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/1.357, allocations: 3.938 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.357, allocations: 3.719 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/1.357, allocations: 1.312 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/1.357, allocations: 165.4 kB / 1.36 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.357, allocations: 1.453 kB / 1.36 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/1.357, allocations: 10.48 kB / 1.36 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.357, allocations: 4.031 kB / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/1.357, allocations: 0 / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/1.357, allocations: 0 / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/1.357, allocations: 0 / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.589e-05/1.357, allocations: 144.2 kB / 1.36 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/1.357, allocations: 78.52 kB / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/1.357, allocations: 3.781 kB / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/1.357, allocations: 9.969 kB / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/1.357, allocations: 8.969 kB / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/1.357, allocations: 3.438 kB / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.874e-05/1.357, allocations: 80.27 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/1.357, allocations: 0 / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001912/1.358, allocations: 3.875 kB / 1.361 GB, free: 32.42 MB / 0.8386 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.0001194/1.358, allocations: 101.6 kB / 1.361 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.559e-05/1.358, allocations: 21.97 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/1.358, allocations: 0 / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.878e-05/1.358, allocations: 3.844 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/1.358, allocations: 7.828 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002105/1.358, allocations: 62.77 kB / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/1.359, allocations: 0.6809 MB / 1.361 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.264e-05/1.359, allocations: 0 / 1.361 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/1.359, allocations: 11.56 kB / 1.361 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/1.359, allocations: 0 / 1.361 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of Templates: time 0.002169/1.361, allocations: 356 kB / 1.362 GB, free: 31.5 MB / 0.8386 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