Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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.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_9_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_9_Buildings.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.401/2.401, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001491/0.001491, allocations: 174.4 kB / 498.1 MB, free: 5.738 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.538/1.538, 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.0009722/0.0009724, allocations: 99.83 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004805, allocations: 15.69 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3249, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.5144, allocations: 149.9 MB / 1.369 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.5147, allocations: 83.89 kB / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01003/0.5248, allocations: 3.595 MB / 1.373 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5248, allocations: 0 / 1.373 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.5248, allocations: 4 kB / 1.373 GB, free: 8.488 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007671/0.5256, allocations: 467.9 kB / 1.373 GB, free: 7.98 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5257, allocations: 12.03 kB / 1.373 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.082e-05/0.5257, allocations: 19.77 kB / 1.373 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.5261, allocations: 228.8 kB / 1.374 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.5261, allocations: 12.28 kB / 1.374 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.5262, allocations: 20 kB / 1.374 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.5265, allocations: 147.8 kB / 1.374 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.5265, allocations: 0 / 1.374 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.5265, allocations: 8 kB / 1.374 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.5265, allocations: 7.953 kB / 1.374 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.5268, allocations: 116.7 kB / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.528, allocations: 0.547 MB / 1.374 GB, free: 6.777 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.5284, allocations: 138.8 kB / 1.375 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.5284, allocations: 0 / 1.375 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.5287, allocations: 131.3 kB / 1.375 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.353e-06/0.5287, allocations: 0 / 1.375 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0005365/0.5293, allocations: 243.3 kB / 1.375 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.5293, allocations: 55.41 kB / 1.375 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.5294, allocations: 138.1 kB / 1.375 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.5295, allocations: 29.7 kB / 1.375 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.5295, allocations: 112.4 kB / 1.375 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/0.5296, allocations: 74.92 kB / 1.375 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.5296, allocations: 8 kB / 1.375 GB, free: 5.812 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5298, allocations: 326.8 kB / 1.376 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.53, allocations: 75.89 kB / 1.376 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.5302, allocations: 100.5 kB / 1.376 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.5304, allocations: 73.66 kB / 1.376 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5304, allocations: 0 / 1.376 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004685/0.5309, allocations: 229.3 kB / 1.376 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.5309, allocations: 7.938 kB / 1.376 GB, free: 5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5309, allocations: 0 / 1.376 GB, free: 5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.5309, allocations: 7.953 kB / 1.376 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.5311, allocations: 39.97 kB / 1.376 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5311, allocations: 0 / 1.376 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.5313, allocations: 31.92 kB / 1.376 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.5313, allocations: 4 kB / 1.376 GB, free: 4.918 MB / 0.8698 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 () * Number of clocked 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 0.0001246/0.5315, allocations: 137.7 kB / 1.376 GB, free: 4.773 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.5315, allocations: 11.91 kB / 1.376 GB, free: 4.762 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004235/0.5319, allocations: 211.4 kB / 1.376 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5319, allocations: 8 kB / 1.376 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5319, allocations: 0 / 1.376 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.5319, allocations: 0 / 1.376 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008528/0.5328, allocations: 0.5813 MB / 1.377 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5328, allocations: 4 kB / 1.377 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.533, allocations: 35.97 kB / 1.377 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.533, allocations: 7.953 kB / 1.377 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.533, allocations: 8 kB / 1.377 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.533, allocations: 3.938 kB / 1.377 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.5331, allocations: 4 kB / 1.377 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.5337, allocations: 469 kB / 1.378 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.5338, allocations: 100.9 kB / 1.378 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.5338, allocations: 8 kB / 1.378 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.534, allocations: 23.92 kB / 1.378 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.534, allocations: 23.95 kB / 1.378 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.5341, allocations: 8 kB / 1.378 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.972e-05/0.5342, allocations: 120.8 kB / 1.378 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.324e-06/0.5342, allocations: 0 / 1.378 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002512/0.5344, allocations: 31.94 kB / 1.378 GB, free: 2.965 MB / 0.8698 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) * Number of clocked states: 0 () * 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.000183/0.5346, allocations: 122.9 kB / 1.378 GB, free: 2.836 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000431/0.5351, allocations: 167.9 kB / 1.378 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5351, allocations: 0 / 1.378 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.5353, allocations: 91.83 kB / 1.378 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.5355, allocations: 37.48 kB / 1.378 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006508/0.5362, allocations: 403.2 kB / 1.379 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.5365, allocations: 0.7283 MB / 1.379 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.702e-05/0.5366, allocations: 17.42 kB / 1.379 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.5366, allocations: 19.42 kB / 1.379 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of SimCode: time 2e-07/0.5367, allocations: 0 / 1.379 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of Templates: time 0.004261/0.5409, allocations: 1.508 MB / 1.381 GB, free: 15.82 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches