Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Obsolete.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.98 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.001276/0.001276, allocations: 187.6 kB / 491.2 MB, free: 1.613 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.705/1.705, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.000993/0.0009932, allocations: 102.9 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.829e-05/1.829e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.2999, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9765/1.276, allocations: 149.7 MB / 1.358 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/1.277, allocations: 90.27 kB / 1.359 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004618/1.281, allocations: 1.442 MB / 1.36 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.424e-06/1.281, allocations: 0 / 1.36 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.243e-05/1.281, allocations: 0 / 1.36 GB, free: 33.15 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000398/1.282, allocations: 356.8 kB / 1.36 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.282, allocations: 11.31 kB / 1.36 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/1.282, allocations: 7.75 kB / 1.36 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/1.282, allocations: 191.8 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/1.282, allocations: 0 / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/1.282, allocations: 3.906 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.656e-05/1.282, allocations: 24 kB / 1.361 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.876e-05/1.282, allocations: 44.59 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/1.282, allocations: 0 / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/1.283, allocations: 0 / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.283, allocations: 0 / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/1.283, allocations: 274.3 kB / 1.361 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.832e-05/1.283, allocations: 42.34 kB / 1.361 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/1.283, allocations: 12.02 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/1.283, allocations: 0 / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/1.283, allocations: 36.36 kB / 1.361 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/1.283, allocations: 0 / 1.361 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001581/1.283, allocations: 50.72 kB / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/1.283, allocations: 59.28 kB / 1.361 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.901e-05/1.283, allocations: 102.5 kB / 1.361 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/1.283, allocations: 25.7 kB / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/1.283, allocations: 96.27 kB / 1.361 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/1.284, allocations: 16.08 kB / 1.361 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/1.284, allocations: 0 / 1.361 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/1.284, allocations: 314 kB / 1.362 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/1.284, allocations: 14.97 kB / 1.362 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.57e-05/1.284, allocations: 11.19 kB / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.469e-05/1.284, allocations: 13 kB / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.284, allocations: 0 / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.436e-05/1.284, allocations: 57.48 kB / 1.362 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/1.284, allocations: 3.625 kB / 1.362 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.284, allocations: 1.188 kB / 1.362 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/1.284, allocations: 1.453 kB / 1.362 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/1.284, allocations: 18.02 kB / 1.362 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/1.284, allocations: 0 / 1.362 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/1.284, allocations: 11 kB / 1.362 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/1.284, allocations: 7.797 kB / 1.362 GB, free: 31.55 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 (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.025e-05/1.284, allocations: 104.9 kB / 1.362 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/1.284, allocations: 3.906 kB / 1.362 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/1.284, allocations: 62.25 kB / 1.362 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/1.284, allocations: 0 / 1.362 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.284, allocations: 3.812 kB / 1.362 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.284, allocations: 0 / 1.362 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/1.284, allocations: 152.8 kB / 1.362 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.284, allocations: 0 / 1.362 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/1.285, allocations: 17.17 kB / 1.362 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.285, allocations: 0 / 1.362 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/1.285, allocations: 1.078 kB / 1.362 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/1.285, allocations: 0 / 1.362 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.285, allocations: 384 / 1.362 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/1.285, allocations: 181.7 kB / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/1.285, allocations: 81.05 kB / 1.362 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/1.285, allocations: 1.453 kB / 1.362 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/1.285, allocations: 12.61 kB / 1.362 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/1.285, allocations: 1.406 kB / 1.362 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/1.285, allocations: 5.5 kB / 1.362 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.513e-05/1.285, allocations: 82.19 kB / 1.362 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.285, allocations: 0 / 1.362 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002011/1.285, allocations: 13.42 kB / 1.362 GB, free: 30.91 MB / 0.8386 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 () * 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.0001174/1.285, allocations: 98.47 kB / 1.363 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.174e-05/1.285, allocations: 31.7 kB / 1.363 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.285, allocations: 0 / 1.363 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.404e-05/1.285, allocations: 10.75 kB / 1.363 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/1.286, allocations: 10.94 kB / 1.363 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/1.286, allocations: 105.2 kB / 1.363 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/1.286, allocations: 0.6871 MB / 1.363 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.388e-05/1.286, allocations: 0 / 1.363 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/1.286, allocations: 11.31 kB / 1.363 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.286, allocations: 0 / 1.363 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.002415/1.289, allocations: 481.6 kB / 1.364 GB, free: 29.97 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches