Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.309/2.309, allocations: 390.5 MB / 398 MB, free: 10.92 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.001106/0.001106, allocations: 187.7 kB / 491.2 MB, free: 1.547 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.771/1.771, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001025/0.001025, allocations: 87.95 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.819e-05/2.821e-05, allocations: 11 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3338, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.048/1.382, allocations: 150 MB / 1.359 GB, free: 17.61 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/1.382, allocations: 73.64 kB / 1.359 GB, free: 17.61 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01062/1.393, allocations: 3.577 MB / 1.362 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.532e-06/1.393, allocations: 0 / 1.362 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.676e-05/1.393, allocations: 3.969 kB / 1.362 GB, free: 33.1 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000751/1.394, allocations: 453.9 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.394, allocations: 7.781 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/1.394, allocations: 21.03 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/1.394, allocations: 228.7 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/1.394, allocations: 11.56 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/1.394, allocations: 7.75 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001877/1.395, allocations: 72.16 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/1.395, allocations: 114.1 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/1.395, allocations: 3.938 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/1.395, allocations: 7.797 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.395, allocations: 0 / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/1.396, allocations: 0.4978 MB / 1.364 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/1.396, allocations: 110.8 kB / 1.364 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.639e-05/1.396, allocations: 62.45 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/1.396, allocations: 8.516 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/1.397, allocations: 99.92 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.262e-06/1.397, allocations: 0 / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0002439/1.397, allocations: 135.9 kB / 1.364 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/1.397, allocations: 51.41 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/1.397, allocations: 133.3 kB / 1.364 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/1.397, allocations: 29.64 kB / 1.364 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/1.397, allocations: 115.6 kB / 1.364 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/1.397, allocations: 66.56 kB / 1.364 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-06/1.397, allocations: 0 / 1.364 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/1.397, allocations: 326.2 kB / 1.365 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-05/1.397, allocations: 45.59 kB / 1.365 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.73e-05/1.397, allocations: 72.62 kB / 1.365 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.627e-05/1.397, allocations: 56.33 kB / 1.365 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.397, allocations: 0 / 1.365 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002041/1.398, allocations: 176.2 kB / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.398, allocations: 5.547 kB / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.398, allocations: 0 / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/1.398, allocations: 3.969 kB / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/1.398, allocations: 42.16 kB / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/1.398, allocations: 0 / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/1.398, allocations: 36.62 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/1.398, allocations: 7.625 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.lesThr.lesHys.y,lesThr.lesHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.94e-05/1.398, allocations: 108.8 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/1.398, allocations: 9.109 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/1.399, allocations: 151 kB / 1.365 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/1.399, allocations: 0 / 1.365 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/1.399, allocations: 3.938 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.399, allocations: 1.359 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/1.399, allocations: 0.5144 MB / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.399, allocations: 192 / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/1.399, allocations: 41.22 kB / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/1.399, allocations: 3.844 kB / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/1.399, allocations: 1.406 kB / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.399, allocations: 3.844 kB / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.399, allocations: 7.891 kB / 1.366 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/1.4, allocations: 402.2 kB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/1.4, allocations: 90.5 kB / 1.367 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/1.4, allocations: 3.844 kB / 1.367 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/1.4, allocations: 19.72 kB / 1.367 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/1.4, allocations: 23.59 kB / 1.367 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/1.4, allocations: 13.42 kB / 1.367 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.197e-05/1.4, allocations: 105.2 kB / 1.367 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.4, allocations: 0 / 1.367 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002448/1.4, allocations: 39 kB / 1.367 GB, free: 30.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001582/1.4, allocations: 104.2 kB / 1.367 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001722/1.401, allocations: 121.8 kB / 1.367 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/1.401, allocations: 0 / 1.367 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.716e-05/1.401, allocations: 68.12 kB / 1.367 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/1.401, allocations: 21.2 kB / 1.367 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/1.401, allocations: 271.4 kB / 1.367 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/1.402, allocations: 0.7278 MB / 1.368 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.168e-05/1.402, allocations: 13.11 kB / 1.368 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/1.402, allocations: 24.53 kB / 1.368 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.402, allocations: 0 / 1.368 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of Templates: time 0.00329/1.405, allocations: 1.396 MB / 1.369 GB, free: 29.2 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches