Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.546/2.546, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001233/0.001233, allocations: 183.3 kB / 498.1 MB, free: 5.746 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.791/1.791, allocations: 223.2 MB / 0.7948 GB, free: 17.82 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.0011/0.001099, allocations: 100.2 kB / 0.9346 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003727, allocations: 10.38 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3686, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2098/0.5785, allocations: 149.6 MB / 1.369 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.5788, allocations: 87.92 kB / 1.369 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003972/0.5828, allocations: 1.449 MB / 1.37 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.956e-06/0.5828, allocations: 0 / 1.37 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.5828, allocations: 0 / 1.37 GB, free: 10.87 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005408/0.5834, allocations: 363.2 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.5834, allocations: 15.97 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.5835, allocations: 11.84 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.5838, allocations: 190.9 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.5838, allocations: 4 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.5839, allocations: 4 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.584, allocations: 61.67 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.5841, allocations: 3.984 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.5841, allocations: 4 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5841, allocations: 4 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.5843, allocations: 51.89 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005592/0.5849, allocations: 304.8 kB / 1.371 GB, free: 9.727 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.585, allocations: 58.55 kB / 1.372 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.5851, allocations: 0 / 1.372 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.5851, allocations: 38.56 kB / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.5851, allocations: 0 / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004/0.5855, allocations: 113.7 kB / 1.372 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.5856, allocations: 63.28 kB / 1.372 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.699e-05/0.5857, allocations: 101 kB / 1.372 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.5857, allocations: 25.7 kB / 1.372 GB, free: 9.285 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.5858, allocations: 92.12 kB / 1.372 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.5858, allocations: 11.75 kB / 1.372 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.5858, allocations: 0 / 1.372 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.586, allocations: 326.8 kB / 1.372 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.909e-05/0.5861, allocations: 23.98 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.622e-05/0.5862, allocations: 23.98 kB / 1.372 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.409e-05/0.5863, allocations: 35.97 kB / 1.372 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.5863, allocations: 0 / 1.372 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002211/0.5865, allocations: 93.52 kB / 1.372 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5865, allocations: 12.36 kB / 1.372 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5866, allocations: 0 / 1.372 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.5866, allocations: 4 kB / 1.372 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.5867, allocations: 12 kB / 1.372 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5867, allocations: 3.938 kB / 1.372 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.305e-05/0.5868, allocations: 19.94 kB / 1.372 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.5868, allocations: 3.984 kB / 1.372 GB, free: 8.617 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 (5): * Single equations (assignments): 5 * 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.837e-05/0.5869, allocations: 105.8 kB / 1.373 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.5869, allocations: 11.91 kB / 1.373 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.5872, allocations: 97.48 kB / 1.373 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5872, allocations: 4 kB / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5872, allocations: 0 / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5872, allocations: 0 / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.5874, allocations: 177.6 kB / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5874, allocations: 0 / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.922e-05/0.5875, allocations: 12 kB / 1.373 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.5875, allocations: 3.984 kB / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.5876, allocations: 0 / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5876, allocations: 0 / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5876, allocations: 0 / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.588, allocations: 231.3 kB / 1.373 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.588, allocations: 77.11 kB / 1.373 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.588, allocations: 7.969 kB / 1.373 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.5881, allocations: 8.531 kB / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.5882, allocations: 7.984 kB / 1.373 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.5882, allocations: 4 kB / 1.373 GB, free: 7.781 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.863e-05/0.5882, allocations: 91.27 kB / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5882, allocations: 0 / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002036/0.5885, allocations: 4 kB / 1.373 GB, free: 7.688 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * 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 (4): * Single equations (assignments): 4 * 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.0001422/0.5886, allocations: 109.1 kB / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.5889, allocations: 67.94 kB / 1.373 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5889, allocations: 3.938 kB / 1.373 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.517e-05/0.589, allocations: 31.98 kB / 1.373 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.5892, allocations: 17.59 kB / 1.374 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.5896, allocations: 164.5 kB / 1.374 GB, free: 7.266 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.5899, allocations: 0.6851 MB / 1.374 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.054e-05/0.59, allocations: 8 kB / 1.374 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.59, allocations: 7.438 kB / 1.374 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of SimCode: time 2.01e-07/0.59, allocations: 3.938 kB / 1.374 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of Templates: time 0.002459/0.5925, allocations: 0.4886 MB / 1.375 GB, free: 6.051 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches