Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008678/0.008678, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001343/0.001343, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 72.3 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9737/0.9754, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002308/0.9778, allocations: 1.079 MB / 1.168 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.979, allocations: 0.9947 MB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.853e-05/0.9791, allocations: 4 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.9793, allocations: 27.73 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.305e-05/0.9793, allocations: 23.73 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.9796, allocations: 68.73 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.9798, allocations: 176.1 kB / 1.169 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.98, allocations: 80 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.9801, allocations: 75.75 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.058e-05/0.9802, allocations: 71.62 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.9802, allocations: 16 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.407e-05/0.9802, allocations: 16 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.9803, allocations: 43.89 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.9803, allocations: 75.53 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.9806, allocations: 183.8 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.9806, allocations: 0 / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9806, allocations: 3.938 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.9806, allocations: 0 / 1.17 GB, free: 0.8867 MB / 0.8887 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.00075/0.9813, allocations: 494.6 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.9814, allocations: 8.922 kB / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.9814, allocations: 20.84 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.9817, allocations: 221.7 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.9818, allocations: 20.38 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.9818, allocations: 12.38 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.9821, allocations: 158.7 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.9821, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.9822, allocations: 4 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-06/0.9822, allocations: 11.92 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.9824, allocations: 107.9 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009825/0.9834, allocations: 0.5352 MB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.9838, allocations: 146.7 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.984, allocations: 88.8 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.984, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.9842, allocations: 121.6 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=19): time 1.182e-06/0.9842, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19): time 0.0004946/0.9847, allocations: 233.4 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.9848, allocations: 51.41 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.9849, allocations: 154.9 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.9849, allocations: 29.7 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.985, allocations: 120.5 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.9851, allocations: 67.42 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.298e-05/0.9852, allocations: 41.7 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.9853, allocations: 330.8 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.9855, allocations: 67.83 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.9857, allocations: 91.89 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.9861, allocations: 147.2 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9861, allocations: 3.938 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004642/0.9865, allocations: 210.2 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.9866, allocations: 8 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.9866, allocations: 0 / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.9866, allocations: 0 / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.9868, allocations: 51.94 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.9868, allocations: 0 / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.9869, allocations: 27.86 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.987, allocations: 8 kB / 1.173 GB, free: 13.12 MB / 0.9044 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.0001102/0.9871, allocations: 129.7 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.9871, allocations: 11.91 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004254/0.9875, allocations: 201 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.9876, allocations: 0 / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9876, allocations: 0 / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.9876, allocations: 0 / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008194/0.9884, allocations: 0.5851 MB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.9884, allocations: 0 / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.9886, allocations: 43.92 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.9886, allocations: 7.875 kB / 1.174 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.9886, allocations: 4 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.9886, allocations: 7.984 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.9886, allocations: 192 / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005934/0.9892, allocations: 387 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.9893, allocations: 96.95 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.9894, allocations: 12.03 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.9895, allocations: 11.98 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.9896, allocations: 23.91 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.9896, allocations: 12 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.065e-05/0.9897, allocations: 122.1 kB / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9897, allocations: 0 / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003991/0.9901, allocations: 35.89 kB / 1.175 GB, free: 11.31 MB / 0.9044 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.0001464/0.9902, allocations: 107.2 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.9907, allocations: 167.7 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9907, allocations: 4.062 kB / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.9909, allocations: 87.83 kB / 1.175 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.9912, allocations: 29.86 kB / 1.175 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.9918, allocations: 386.2 kB / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.9921, allocations: 0.7243 MB / 1.176 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.971e-05/0.9922, allocations: 21.5 kB / 1.176 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.9923, allocations: 19.44 kB / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.9923, allocations: 0 / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of Templates: time 0.00478/0.9971, allocations: 1.773 MB / 1.178 GB, free: 7.949 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches