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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00177/0.00177, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.002721/0.002721, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.411/2.411, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 61.58 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3178, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.008887/0.3267, allocations: 4.348 MB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00466/0.3314, allocations: 1.574 MB / 1.025 GB, free: 3.879 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.3326, allocations: 35.88 kB / 1.025 GB, free: 3.844 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007674/0.3334, allocations: 170.1 kB / 1.025 GB, free: 3.676 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.335, allocations: 230.9 kB / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.3374, allocations: 0.6702 MB / 1.026 GB, free: 2.789 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002583/0.34, allocations: 1.222 MB / 1.027 GB, free: 1.566 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.3415, allocations: 0.4884 MB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.3427, allocations: 469.9 kB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008266/0.3436, allocations: 461.4 kB / 1.028 GB, free: 144 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003606/0.344, allocations: 104 kB / 1.028 GB, free: 40 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.3444, allocations: 104 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000514/0.345, allocations: 231 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0009509/0.3459, allocations: 485 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002109/0.3481, allocations: 1.16 MB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3481, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.682e-06/0.3481, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.676e-05/0.3482, allocations: 3.938 kB / 1.03 GB, free: 14.07 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.004814/0.353, allocations: 1.391 MB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.3531, allocations: 16.88 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004076/0.3535, allocations: 119.4 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002378/0.3559, allocations: 0.7665 MB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.3561, allocations: 84.2 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002313/0.3563, allocations: 72.36 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.3586, allocations: 0.7329 MB / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.3586, allocations: 0 / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.3587, allocations: 32 kB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.3588, allocations: 16 kB / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.3605, allocations: 0.5243 MB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005629/0.3661, allocations: 2.243 MB / 1.036 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.3683, allocations: 0.6225 MB / 1.037 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007781/0.3691, allocations: 283 kB / 1.037 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.259e-05/0.3692, allocations: 8.547 kB / 1.037 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009614/0.3702, allocations: 323 kB / 1.037 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 4.939e-06/0.3702, allocations: 0 / 1.037 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.0025/0.3727, allocations: 0.7516 MB / 1.038 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.3728, allocations: 81.67 kB / 1.038 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.3744, allocations: 0.7633 MB / 1.039 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.391e-05/0.3745, allocations: 41.7 kB / 1.039 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/0.375, allocations: 432.5 kB / 1.039 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/0.3753, allocations: 205 kB / 1.039 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.3755, allocations: 110.3 kB / 1.04 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3757, allocations: 326 kB / 1.04 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000637/0.3764, allocations: 211.4 kB / 1.04 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007456/0.3771, allocations: 300.5 kB / 1.04 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.3785, allocations: 0.5113 MB / 1.041 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3785, allocations: 0 / 1.041 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001865/0.3804, allocations: 0.6539 MB / 1.041 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.3804, allocations: 8 kB / 1.042 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.3804, allocations: 4 kB / 1.042 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.3805, allocations: 4 kB / 1.042 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009371/0.3814, allocations: 144 kB / 1.042 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.3815, allocations: 15.88 kB / 1.042 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006159/0.3821, allocations: 67.34 kB / 1.042 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.3822, allocations: 23.98 kB / 1.042 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008768/0.383, allocations: 355.6 kB / 1.042 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006533/0.3837, allocations: 300.4 kB / 1.042 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001253/0.385, allocations: 0.4918 MB / 1.043 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/0.385, allocations: 4 kB / 1.043 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001577/0.3866, allocations: 0.6268 MB / 1.043 GB, free: 48 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3866, allocations: 8.031 kB / 1.043 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3866, allocations: 4 kB / 1.043 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.3866, allocations: 4 kB / 1.043 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009084/0.3875, allocations: 139.8 kB / 1.044 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.3876, allocations: 7.938 kB / 1.044 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/0.3881, allocations: 71.44 kB / 1.044 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.304e-05/0.3882, allocations: 20 kB / 1.044 GB, free: 15.8 MB / 0.8262 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.0002568/0.3885, allocations: 212.1 kB / 1.044 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.3886, allocations: 90.88 kB / 1.044 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.3889, allocations: 105.2 kB / 1.044 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.389, allocations: 7.938 kB / 1.044 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.389, allocations: 7.938 kB / 1.044 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.389, allocations: 3.984 kB / 1.044 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/0.3921, allocations: 1.439 MB / 1.046 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3922, allocations: 0 / 1.046 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007701/0.3929, allocations: 103.8 kB / 1.046 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.393, allocations: 4 kB / 1.046 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/0.393, allocations: 15.98 kB / 1.046 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.393, allocations: 8 kB / 1.046 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.393, allocations: 0 / 1.046 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.3955, allocations: 0.9595 MB / 1.047 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004577/0.396, allocations: 227.7 kB / 1.047 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.3961, allocations: 12 kB / 1.047 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.3967, allocations: 31.97 kB / 1.047 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.3968, allocations: 32.52 kB / 1.047 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.3969, allocations: 19.98 kB / 1.047 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001199/0.3981, allocations: 0.5185 MB / 1.047 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3981, allocations: 0 / 1.047 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001022/0.3991, allocations: 279 kB / 1.048 GB, free: 11.64 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.0002053/0.3993, allocations: 118.9 kB / 1.048 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002394/0.4017, allocations: 0.7956 MB / 1.049 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4018, allocations: 0 / 1.049 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008862/0.4027, allocations: 275.8 kB / 1.049 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.4041, allocations: 272 kB / 1.049 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.4077, allocations: 1.539 MB / 1.051 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007683/0.4085, allocations: 0.9898 MB / 1.052 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0006638/0.4092, allocations: 118.7 kB / 1.052 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.4095, allocations: 63.42 kB / 1.052 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.4095, allocations: 0 / 1.052 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of Templates: time 0.01933/0.4288, allocations: 9.269 MB / 1.061 GB, free: 14.27 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 -s cvode -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