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.0009794/0.0009795, allocations: 92 kB / 15.36 MB, free: 0.7383 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.007944/0.007944, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.603/2.603, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005343/0.0005342, allocations: 12 kB / 0.8729 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6614/0.6619, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001264/0.6632, allocations: 0.767 MB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.6645, allocations: 1.003 MB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.6646, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.6648, allocations: 15.86 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.576e-05/0.6649, allocations: 11.86 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.6651, allocations: 59.94 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.6653, allocations: 164 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.6655, allocations: 76.03 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.561e-05/0.6656, allocations: 55.72 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.495e-05/0.6657, allocations: 63.61 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.6657, allocations: 8 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.625e-05/0.6658, allocations: 7.938 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.123e-05/0.6658, allocations: 23.92 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.284e-05/0.6659, allocations: 85.23 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.666, allocations: 169.3 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.6661, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6661, allocations: 4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.6661, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 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.0007664/0.6668, allocations: 455 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.6669, allocations: 12.03 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.667, allocations: 20.66 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.6672, allocations: 213.4 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.6672, allocations: 16.38 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.6673, allocations: 20.36 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.6676, allocations: 153.7 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.6676, allocations: 4 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.6677, allocations: 8 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.6677, allocations: 4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.668, allocations: 121 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.6691, allocations: 0.5507 MB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.6695, allocations: 146.7 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.6697, allocations: 92.75 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.6697, allocations: 4 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.67, allocations: 123.3 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 3.937e-06/0.67, allocations: 3.984 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0005784/0.6706, allocations: 251 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.6707, allocations: 55.41 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.6708, allocations: 155.7 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.6708, allocations: 37.69 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.6709, allocations: 116.4 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.671, allocations: 59.11 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.671, allocations: 29.7 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.6711, allocations: 322.8 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.6714, allocations: 83.81 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.6716, allocations: 85.67 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.672, allocations: 168.3 kB / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.672, allocations: 0 / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005158/0.6725, allocations: 225.3 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.6725, allocations: 9.812 kB / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6726, allocations: 0 / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.6726, allocations: 4 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.6728, allocations: 43.91 kB / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.6728, allocations: 0 / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.673, allocations: 31.92 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.673, allocations: 4 kB / 1.029 GB, free: 9.559 MB / 0.7794 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.0001233/0.6731, allocations: 141.2 kB / 1.029 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.6732, allocations: 23.8 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.6736, allocations: 196.1 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6736, allocations: 4 kB / 1.029 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.6736, allocations: 0 / 1.029 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.6736, allocations: 3.984 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008499/0.6745, allocations: 0.5968 MB / 1.03 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6745, allocations: 4 kB / 1.03 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.6747, allocations: 39.91 kB / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.6747, allocations: 7.938 kB / 1.03 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.6747, allocations: 8 kB / 1.03 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.6747, allocations: 0 / 1.03 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6748, allocations: 4 kB / 1.03 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006139/0.6754, allocations: 404.8 kB / 1.03 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.6754, allocations: 96.86 kB / 1.03 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.6755, allocations: 8 kB / 1.03 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.6756, allocations: 19.98 kB / 1.03 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.6757, allocations: 23.97 kB / 1.03 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.6757, allocations: 8 kB / 1.03 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.058e-05/0.6758, allocations: 119.2 kB / 1.031 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6758, allocations: 0 / 1.031 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002783/0.6761, allocations: 31.94 kB / 1.031 GB, free: 7.703 MB / 0.7794 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.0001457/0.6763, allocations: 115.2 kB / 1.031 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004509/0.6767, allocations: 175.7 kB / 1.031 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6767, allocations: 0 / 1.031 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.677, allocations: 96.28 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.6773, allocations: 23.98 kB / 1.031 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.678, allocations: 447.3 kB / 1.031 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.6783, allocations: 0.7246 MB / 1.032 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.459e-05/0.6784, allocations: 17.42 kB / 1.032 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.6784, allocations: 23.44 kB / 1.032 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of SimCode: time 2.054e-06/0.6784, allocations: 0 / 1.032 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of Templates: time 0.004393/0.6829, allocations: 1.555 MB / 1.034 GB, free: 4.473 MB / 0.7794 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