Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 104.4 kB / 16.27 MB, free: 6.414 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.001306/0.001306, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.406/1.406, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.644/2.644, allocations: 437.1 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 60.25 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3146, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.006813/0.3215, allocations: 4.331 MB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003757/0.3253, allocations: 1.589 MB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009212/0.3262, allocations: 31.88 kB / 1.024 GB, free: 4.668 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000601/0.3268, allocations: 170.2 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.3279, allocations: 226 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.3295, allocations: 0.673 MB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001736/0.3313, allocations: 1.214 MB / 1.026 GB, free: 2.402 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009621/0.3322, allocations: 0.5001 MB / 1.026 GB, free: 1.875 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008916/0.3331, allocations: 458 kB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007301/0.3339, allocations: 461.4 kB / 1.027 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002586/0.3342, allocations: 100 kB / 1.027 GB, free: 0.875 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.3344, allocations: 104 kB / 1.028 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.3347, allocations: 231.1 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006155/0.3353, allocations: 493 kB / 1.028 GB, free: 64 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.3366, allocations: 1.114 MB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3366, allocations: 7.938 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3367, allocations: 0 / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.039e-05/0.3367, allocations: 0 / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002964/0.3397, allocations: 1.391 MB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3397, allocations: 15.98 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.34, allocations: 127.4 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.3413, allocations: 0.7274 MB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.3415, allocations: 84.27 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.3416, allocations: 72.31 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.343, allocations: 0.7329 MB / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.343, allocations: 0 / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.03e-05/0.3431, allocations: 32 kB / 1.032 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.3431, allocations: 16 kB / 1.032 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.3443, allocations: 0.5204 MB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003843/0.3482, allocations: 2.271 MB / 1.035 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.3498, allocations: 0.6232 MB / 1.036 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005745/0.3504, allocations: 278.4 kB / 1.036 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.3504, allocations: 12.55 kB / 1.036 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007471/0.3512, allocations: 323 kB / 1.036 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 2.245e-06/0.3512, allocations: 0 / 1.036 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.001779/0.353, allocations: 0.7516 MB / 1.037 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.3531, allocations: 81.67 kB / 1.037 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.3541, allocations: 0.7594 MB / 1.038 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/0.3542, allocations: 41.69 kB / 1.038 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004009/0.3546, allocations: 436.5 kB / 1.038 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.3548, allocations: 209 kB / 1.039 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.355, allocations: 110.3 kB / 1.039 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3552, allocations: 326 kB / 1.039 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004943/0.3557, allocations: 207.4 kB / 1.039 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/0.3562, allocations: 304.5 kB / 1.039 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.3573, allocations: 0.5075 MB / 1.04 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3573, allocations: 0 / 1.04 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001421/0.3587, allocations: 0.6577 MB / 1.041 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.3588, allocations: 8 kB / 1.041 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3588, allocations: 0 / 1.041 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.3588, allocations: 8 kB / 1.041 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006769/0.3595, allocations: 139.8 kB / 1.041 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.3595, allocations: 12.19 kB / 1.041 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.36, allocations: 75.28 kB / 1.041 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.3601, allocations: 27.94 kB / 1.041 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006886/0.3608, allocations: 353.4 kB / 1.041 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005267/0.3613, allocations: 300.4 kB / 1.042 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009799/0.3623, allocations: 495.5 kB / 1.042 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.3623, allocations: 4 kB / 1.042 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001328/0.3637, allocations: 0.6305 MB / 1.043 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.3637, allocations: 4 kB / 1.043 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3637, allocations: 8.25 kB / 1.043 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.3637, allocations: 4 kB / 1.043 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.3644, allocations: 139.8 kB / 1.043 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.3644, allocations: 7.938 kB / 1.043 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/0.3649, allocations: 63.45 kB / 1.043 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.3649, allocations: 23.98 kB / 1.043 GB, free: 0.6641 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.000227/0.3652, allocations: 214.6 kB / 1.043 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.3653, allocations: 94.88 kB / 1.043 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.3656, allocations: 101.2 kB / 1.043 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3656, allocations: 4 kB / 1.043 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.3656, allocations: 7.938 kB / 1.043 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.3656, allocations: 3.984 kB / 1.043 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002553/0.3682, allocations: 1.434 MB / 1.045 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3682, allocations: 0 / 1.045 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/0.3688, allocations: 103.8 kB / 1.045 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.3688, allocations: 4 kB / 1.045 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.3688, allocations: 19.98 kB / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.3688, allocations: 4 kB / 1.045 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3689, allocations: 4 kB / 1.045 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.3707, allocations: 0.9586 MB / 1.046 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.3711, allocations: 223.9 kB / 1.046 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.3712, allocations: 19.92 kB / 1.046 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.3716, allocations: 27.97 kB / 1.046 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.3718, allocations: 36.52 kB / 1.046 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.3718, allocations: 19.98 kB / 1.046 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007133/0.3725, allocations: 0.5146 MB / 1.047 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3725, allocations: 4 kB / 1.047 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007728/0.3733, allocations: 279 kB / 1.047 GB, free: 12.51 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001653/0.3735, allocations: 115.2 kB / 1.047 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.3755, allocations: 0.8247 MB / 1.048 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3755, allocations: 0 / 1.048 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005565/0.3761, allocations: 267.8 kB / 1.048 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.3774, allocations: 274.5 kB / 1.048 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.3802, allocations: 1.6 MB / 1.05 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/0.3809, allocations: 0.9937 MB / 1.051 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.3812, allocations: 63.42 kB / 1.051 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.3812, allocations: 0 / 1.051 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of Templates: time 0.01825/0.3994, allocations: 10.93 MB / 1.062 GB, free: 13.46 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches