Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 101.8 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 189.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.774/2.774, allocations: 469.8 MB / 0.743 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.88 kB / 0.9092 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3494, allocations: 159.1 MB / 1.065 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002512/0.3519, allocations: 1.056 MB / 1.066 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.3533, allocations: 0.9948 MB / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3534, allocations: 4 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.3535, allocations: 19.73 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.083e-05/0.3536, allocations: 23.8 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.3539, allocations: 71.84 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.3541, allocations: 176 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.3543, allocations: 72.05 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.3544, allocations: 75.75 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3545, allocations: 83.56 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.445e-05/0.3545, allocations: 20 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.719e-05/0.3546, allocations: 16 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.3546, allocations: 39.83 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.841e-05/0.3547, allocations: 79.53 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.355, allocations: 183.6 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.355, allocations: 0 / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.162e-06/0.355, allocations: 0 / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.355, allocations: 0 / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008381/0.3558, allocations: 474.9 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3559, allocations: 8.031 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.3559, allocations: 24.66 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.3562, allocations: 227 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.3562, allocations: 12.38 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.3563, allocations: 12.38 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.3566, allocations: 167.4 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3566, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.3567, allocations: 4 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3567, allocations: 4 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.357, allocations: 107.9 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.3581, allocations: 0.5313 MB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.3585, allocations: 138.8 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.3587, allocations: 88.75 kB / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3587, allocations: 0 / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003026/0.359, allocations: 129 kB / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.359, allocations: 0 / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19): time 0.0005594/0.3596, allocations: 219.3 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.3596, allocations: 55.41 kB / 1.07 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.3598, allocations: 156.4 kB / 1.07 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.3598, allocations: 33.69 kB / 1.07 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.3599, allocations: 120.4 kB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.053e-05/0.36, allocations: 67.03 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.3601, allocations: 45.7 kB / 1.07 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3602, allocations: 326.8 kB / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.3605, allocations: 63.95 kB / 1.07 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.3607, allocations: 89.66 kB / 1.07 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.3611, allocations: 150.5 kB / 1.071 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.3611, allocations: 4 kB / 1.071 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005194/0.3616, allocations: 210.4 kB / 1.071 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3616, allocations: 10.69 kB / 1.071 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3616, allocations: 4 kB / 1.071 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3617, allocations: 3.938 kB / 1.071 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.3619, allocations: 43.91 kB / 1.071 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3619, allocations: 0 / 1.071 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.3621, allocations: 27.83 kB / 1.071 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.3621, allocations: 4 kB / 1.071 GB, free: 8.09 MB / 0.8419 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,lesThr.lesHys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.3622, allocations: 134.9 kB / 1.071 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.3623, allocations: 15.81 kB / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004729/0.3628, allocations: 190.7 kB / 1.071 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.3628, allocations: 3.984 kB / 1.071 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3628, allocations: 0 / 1.071 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3628, allocations: 0 / 1.071 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009444/0.3637, allocations: 0.5881 MB / 1.072 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3638, allocations: 0 / 1.072 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.3639, allocations: 40.09 kB / 1.072 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.364, allocations: 11.94 kB / 1.072 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.364, allocations: 4 kB / 1.072 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.364, allocations: 4 kB / 1.072 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.364, allocations: 4 kB / 1.072 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006633/0.3647, allocations: 382.2 kB / 1.072 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/0.3648, allocations: 100.8 kB / 1.072 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.3648, allocations: 8 kB / 1.072 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.365, allocations: 16.03 kB / 1.072 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.3651, allocations: 23.97 kB / 1.072 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.3651, allocations: 8 kB / 1.072 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001044/0.3652, allocations: 118.3 kB / 1.072 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3652, allocations: 3.938 kB / 1.072 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002736/0.3655, allocations: 28 kB / 1.073 GB, free: 6.289 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002112/0.3657, allocations: 119.8 kB / 1.073 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005038/0.3662, allocations: 174.5 kB / 1.073 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3662, allocations: 0 / 1.073 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.3664, allocations: 91.83 kB / 1.073 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.3668, allocations: 36.31 kB / 1.073 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007467/0.3676, allocations: 408.5 kB / 1.073 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.368, allocations: 0.7243 MB / 1.074 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.368, allocations: 23.44 kB / 1.074 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3681, allocations: 0 / 1.074 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of Templates: time 0.004173/0.3722, allocations: 1.94 MB / 1.076 GB, free: 2.703 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches