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.00146/0.001461, allocations: 114.7 kB / 16.42 MB, free: 6.031 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.001547/0.001547, allocations: 190 kB / 17.35 MB, free: 5.633 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.468/1.468, allocations: 222.9 MB / 241.1 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.545/2.545, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9941/0.9954, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.003074/0.9985, allocations: 1.084 MB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001766/1, allocations: 0.9908 MB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/1.001, allocations: 4 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001769/1.001, allocations: 19.73 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.815e-05/1.001, allocations: 27.73 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/1.001, allocations: 68.86 kB / 1.17 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002548/1.001, allocations: 180.1 kB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/1.002, allocations: 72.06 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/1.002, allocations: 75.7 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/1.002, allocations: 79.61 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/1.002, allocations: 20 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.065e-05/1.002, allocations: 16 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/1.002, allocations: 39.89 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.968e-05/1.002, allocations: 75.53 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/1.003, allocations: 190.9 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/1.003, allocations: 0 / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.154e-06/1.003, allocations: 4 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.312e-05/1.003, allocations: 0 / 1.17 GB, free: 0.9023 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.0009446/1.004, allocations: 476.8 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/1.004, allocations: 8.922 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.082e-05/1.004, allocations: 16.75 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/1.004, allocations: 225.7 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/1.004, allocations: 8.375 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/1.004, allocations: 24.31 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003748/1.004, allocations: 162.7 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.004, allocations: 4 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/1.004, allocations: 4 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/1.005, allocations: 4 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/1.005, allocations: 99.94 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/1.006, allocations: 0.5428 MB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/1.006, allocations: 142.7 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/1.007, allocations: 84.77 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/1.007, allocations: 7.984 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/1.007, allocations: 121.3 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=19): time 1.714e-06/1.007, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19): time 0.0006079/1.008, allocations: 229.4 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/1.008, allocations: 51.41 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/1.008, allocations: 160.4 kB / 1.173 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/1.008, allocations: 29.7 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/1.008, allocations: 120.4 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/1.008, allocations: 67.09 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/1.008, allocations: 37.7 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.008, allocations: 326.8 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/1.009, allocations: 75.81 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/1.009, allocations: 88.31 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/1.009, allocations: 151.1 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.009, allocations: 4 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004839/1.01, allocations: 210.1 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.01, allocations: 4 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.01, allocations: 0 / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.01, allocations: 8 kB / 1.174 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/1.01, allocations: 43.84 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/1.01, allocations: 4 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/1.01, allocations: 31.8 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/1.01, allocations: 7.984 kB / 1.174 GB, free: 13.16 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.0001255/1.01, allocations: 133.7 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/1.01, allocations: 11.91 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004335/1.011, allocations: 188.6 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.011, allocations: 4 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.011, allocations: 3.984 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/1.011, allocations: 89.02 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/1.011, allocations: 4 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/1.011, allocations: 19.92 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/1.011, allocations: 23.92 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006003/1.012, allocations: 276.7 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007282/1.012, allocations: 421.1 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001629/1.013, allocations: 78.34 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.152e-05/1.013, allocations: 130 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of Backend: time 7.11e-07/1.013, allocations: 0 / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006818/1.013, allocations: 185.3 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009254/1.014, allocations: 0.7534 MB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of Templates: time 0.005306/1.02, allocations: 1.903 MB / 1.178 GB, free: 8.867 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/jenkins1/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