Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001359/0.001359, allocations: 113.1 kB / 16.42 MB, free: 6.52 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.001418/0.001418, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.422/1.422, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.724/2.724, allocations: 472.7 MB / 0.746 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 59.91 kB / 1.07 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.866/0.8675, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002512/0.87, allocations: 1.065 MB / 1.227 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.8714, allocations: 0.992 MB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.8717, allocations: 4 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.8718, allocations: 19.73 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.872, allocations: 27.73 kB / 1.228 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.8724, allocations: 71.84 kB / 1.229 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.8726, allocations: 172.1 kB / 1.229 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.8728, allocations: 80.05 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.8729, allocations: 71.7 kB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.8731, allocations: 75.62 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.109e-05/0.8731, allocations: 16 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.777e-05/0.8732, allocations: 16 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.561e-05/0.8732, allocations: 47.83 kB / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.479e-05/0.8733, allocations: 75.59 kB / 1.229 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.8736, allocations: 187.7 kB / 1.229 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8736, allocations: 0 / 1.229 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8736, allocations: 0 / 1.229 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.8736, allocations: 0 / 1.229 GB, free: 10.58 MB / 0.9512 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.0008556/0.8744, allocations: 486.6 kB / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.8745, allocations: 12.03 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/0.8746, allocations: 24.84 kB / 1.23 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.8749, allocations: 216.6 kB / 1.23 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.8749, allocations: 12.38 kB / 1.23 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.875, allocations: 28.34 kB / 1.23 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.8753, allocations: 153.5 kB / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.8754, allocations: 0 / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.8754, allocations: 4 kB / 1.23 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.8754, allocations: 8 kB / 1.23 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.8757, allocations: 107.9 kB / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.8768, allocations: 0.5352 MB / 1.231 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.8772, allocations: 142.7 kB / 1.231 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.8773, allocations: 93.75 kB / 1.231 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.8774, allocations: 0 / 1.231 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.8776, allocations: 123.3 kB / 1.231 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 1.893e-06/0.8776, allocations: 0 / 1.231 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.0005503/0.8782, allocations: 225.3 kB / 1.231 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.8782, allocations: 51.41 kB / 1.231 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.8784, allocations: 171.9 kB / 1.232 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.8784, allocations: 37.7 kB / 1.232 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.8785, allocations: 120.5 kB / 1.232 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/0.8786, allocations: 63.44 kB / 1.232 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-05/0.8786, allocations: 41.7 kB / 1.232 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.8788, allocations: 334.8 kB / 1.232 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.879, allocations: 59.97 kB / 1.232 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.8792, allocations: 93.66 kB / 1.232 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.8796, allocations: 143 kB / 1.232 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8796, allocations: 4 kB / 1.232 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005056/0.8801, allocations: 212.3 kB / 1.233 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.8801, allocations: 8 kB / 1.233 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.8801, allocations: 0 / 1.233 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.8802, allocations: 0 / 1.233 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.8804, allocations: 47.91 kB / 1.233 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.8804, allocations: 3.984 kB / 1.233 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.8806, allocations: 31.83 kB / 1.233 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.8806, allocations: 4 kB / 1.233 GB, free: 6.805 MB / 0.9512 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.0001492/0.8807, allocations: 143.1 kB / 1.233 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.8808, allocations: 11.91 kB / 1.233 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004884/0.8813, allocations: 192 kB / 1.233 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.8813, allocations: 0 / 1.233 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8813, allocations: 0 / 1.233 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.8814, allocations: 92.95 kB / 1.233 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.8814, allocations: 4 kB / 1.233 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.8815, allocations: 19.92 kB / 1.233 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.8817, allocations: 19.97 kB / 1.233 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006815/0.8824, allocations: 282.6 kB / 1.233 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008404/0.8832, allocations: 429.1 kB / 1.234 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002089/0.8834, allocations: 75.92 kB / 1.234 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001135/0.8836, allocations: 118.5 kB / 1.234 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of Backend: time 8.22e-07/0.8836, allocations: 0 / 1.234 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007873/0.8844, allocations: 190.3 kB / 1.234 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001127/0.8855, allocations: 0.7491 MB / 1.235 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of Templates: time 0.005449/0.891, allocations: 1.916 MB / 1.237 GB, free: 2.496 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches