Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 111 kB / 16.42 MB, free: 6.512 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.001722/0.001722, allocations: 186.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.404/1.404, 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 9.1.3-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 75.89 kB / 0.9516 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9412/0.9429, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.004454/0.9474, allocations: 3.314 MB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002838/0.9502, allocations: 1.722 MB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006081/0.9509, allocations: 19.69 kB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.9513, allocations: 161.5 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.9517, allocations: 129.5 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006969/0.9524, allocations: 356.7 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009982/0.9534, allocations: 1.079 MB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008981/0.9543, allocations: 0.6243 MB / 1.096 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000411/0.9547, allocations: 399.1 kB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003843/0.9551, allocations: 449.5 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.9553, allocations: 119.2 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.9555, allocations: 122.9 kB / 1.097 GB, free: 164 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.9557, allocations: 248.6 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004275/0.9562, allocations: 493.2 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.9577, allocations: 1.309 MB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.9578, allocations: 0.6094 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9578, allocations: 0.9375 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.579e-05/0.9578, allocations: 0 / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.00282/0.9606, allocations: 1.292 MB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.9607, allocations: 9.234 kB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002336/0.9609, allocations: 121.4 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.962, allocations: 0.5586 MB / 1.101 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-05/0.962, allocations: 72.81 kB / 1.101 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.9622, allocations: 95.92 kB / 1.101 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.964, allocations: 0.8762 MB / 1.102 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.9641, allocations: 1.312 kB / 1.102 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.546e-05/0.9641, allocations: 46.06 kB / 1.102 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.9642, allocations: 21.69 kB / 1.102 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.9656, allocations: 0.6163 MB / 1.103 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005323/0.9709, allocations: 2.793 MB / 1.105 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.9727, allocations: 1.314 MB / 1.107 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006748/0.9734, allocations: 400 kB / 1.107 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.9734, allocations: 10.38 kB / 1.107 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007064/0.9741, allocations: 354.4 kB / 1.107 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=74): time 3.587e-06/0.9742, allocations: 1.125 kB / 1.107 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74): time 0.001843/0.976, allocations: 0.8167 MB / 1.108 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.97e-05/0.9761, allocations: 163.3 kB / 1.108 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008385/0.977, allocations: 0.5591 MB / 1.109 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.977, allocations: 44.22 kB / 1.109 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.9774, allocations: 396.3 kB / 1.109 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.9776, allocations: 255 kB / 1.109 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.9778, allocations: 125.1 kB / 1.11 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.978, allocations: 386.1 kB / 1.11 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005839/0.9785, allocations: 244.5 kB / 1.11 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006503/0.9792, allocations: 362.2 kB / 1.111 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.9803, allocations: 0.5349 MB / 1.111 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.9803, allocations: 1.156 kB / 1.111 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001402/0.9817, allocations: 0.7096 MB / 1.112 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.9817, allocations: 5.469 kB / 1.112 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.9817, allocations: 1.094 kB / 1.112 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.9818, allocations: 4.438 kB / 1.112 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/0.9824, allocations: 160.5 kB / 1.112 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.9824, allocations: 4.453 kB / 1.112 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.9829, allocations: 92.59 kB / 1.112 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/0.9829, allocations: 25.34 kB / 1.112 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006195/0.9836, allocations: 349.4 kB / 1.112 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005633/0.9841, allocations: 320.3 kB / 1.113 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007412/0.9849, allocations: 457.9 kB / 1.113 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.9849, allocations: 5.344 kB / 1.113 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001046/0.9859, allocations: 0.6148 MB / 1.114 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.986, allocations: 5.938 kB / 1.114 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.986, allocations: 0.9531 kB / 1.114 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.986, allocations: 8.781 kB / 1.114 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.9865, allocations: 135.2 kB / 1.114 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.9866, allocations: 8.625 kB / 1.114 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.987, allocations: 76.98 kB / 1.114 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/0.987, allocations: 26.86 kB / 1.114 GB, free: 6.449 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0002372/0.9873, allocations: 218.4 kB / 1.114 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.9874, allocations: 74 kB / 1.114 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.9887, allocations: 0.655 MB / 1.115 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.9888, allocations: 4.562 kB / 1.115 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.9888, allocations: 0 / 1.115 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.9889, allocations: 165.9 kB / 1.115 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.887e-05/0.9891, allocations: 12.94 kB / 1.115 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.9894, allocations: 44.42 kB / 1.115 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.9895, allocations: 42.52 kB / 1.115 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001778/0.9913, allocations: 0.7501 MB / 1.116 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002025/0.9933, allocations: 1.132 MB / 1.117 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006042/0.9939, allocations: 300 kB / 1.117 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006998/0.9947, allocations: 400.3 kB / 1.118 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of Backend: time 8.41e-07/0.9947, allocations: 1.469 kB / 1.118 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002032/0.9967, allocations: 0.7552 MB / 1.118 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of SimCode: time 0.003081/0.9998, allocations: 1.828 MB / 1.12 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of Templates: time 0.02492/1.025, allocations: 10.09 MB / 1.13 GB, free: 2.293 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches