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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00114/0.00114, allocations: 109.9 kB / 16.42 MB, free: 6.453 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.001092/0.001092, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.918/2.918, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.89 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8701/0.8716, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002558/0.8742, allocations: 1.066 MB / 1.21 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.8757, allocations: 0.9986 MB / 1.211 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.8759, allocations: 0 / 1.211 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.8761, allocations: 23.73 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.295e-05/0.8762, allocations: 11.81 kB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.8766, allocations: 75.84 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.8768, allocations: 180 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.8771, allocations: 84.03 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.8772, allocations: 67.72 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.8773, allocations: 83.59 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.8774, allocations: 16 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.826e-05/0.8774, allocations: 16 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.8775, allocations: 35.91 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.269e-05/0.8776, allocations: 83.52 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.8778, allocations: 179 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.8779, allocations: 4 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.326e-06/0.8779, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.8779, allocations: 3.938 kB / 1.211 GB, free: 10.68 MB / 0.9356 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.0009161/0.8788, allocations: 476.8 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.8788, allocations: 12.03 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.8789, allocations: 16.75 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.8793, allocations: 224.5 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.8793, allocations: 16.38 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.8793, allocations: 16.38 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.8797, allocations: 153.6 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.8797, allocations: 0 / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.8798, allocations: 8 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.8798, allocations: 4 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.8801, allocations: 107.9 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.8813, allocations: 0.5312 MB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.8817, allocations: 138.8 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.882, allocations: 96.62 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.882, allocations: 7.984 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.8822, allocations: 124.9 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 2.175e-06/0.8823, allocations: 0 / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.0005866/0.8829, allocations: 223.9 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.8829, allocations: 55.41 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.883, allocations: 151.1 kB / 1.214 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.8831, allocations: 37.64 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.138e-05/0.8832, allocations: 128.4 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.8832, allocations: 55.11 kB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.8833, allocations: 41.7 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.8835, allocations: 326.8 kB / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.8837, allocations: 63.95 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.8839, allocations: 85.67 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.8843, allocations: 160.3 kB / 1.214 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.8843, allocations: 4 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005175/0.8848, allocations: 213.2 kB / 1.215 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.8849, allocations: 4 kB / 1.215 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8849, allocations: 4.031 kB / 1.215 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.8849, allocations: 4 kB / 1.215 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.8851, allocations: 43.91 kB / 1.215 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.8851, allocations: 0 / 1.215 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.8853, allocations: 23.83 kB / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.8853, allocations: 11.98 kB / 1.215 GB, free: 6.938 MB / 0.9356 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.0001107/0.8854, allocations: 125.8 kB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.8855, allocations: 15.91 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/0.8859, allocations: 198.6 kB / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.8859, allocations: 0 / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.886, allocations: 3.984 kB / 1.215 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.886, allocations: 85.02 kB / 1.215 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.8861, allocations: 8 kB / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.8862, allocations: 15.92 kB / 1.215 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.8863, allocations: 19.97 kB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000608/0.8869, allocations: 276.7 kB / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006305/0.8875, allocations: 428.7 kB / 1.216 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001645/0.8877, allocations: 79.89 kB / 1.216 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.966e-05/0.8878, allocations: 122.5 kB / 1.216 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of Backend: time 3.81e-07/0.8878, allocations: 0 / 1.216 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006576/0.8885, allocations: 198 kB / 1.216 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0008152/0.8893, allocations: 0.7497 MB / 1.217 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of Templates: time 0.005161/0.8945, allocations: 1.907 MB / 1.219 GB, free: 2.633 MB / 0.9356 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