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.001289/0.00129, allocations: 102.7 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.00129/0.00129, allocations: 189.7 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.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.506/2.506, allocations: 437.1 MB / 0.7111 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 75.95 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3106, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005956/0.3166, allocations: 4.335 MB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003093/0.3197, allocations: 1.585 MB / 1.024 GB, free: 4.703 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004889/0.3202, allocations: 31.88 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.3207, allocations: 174.1 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006357/0.3213, allocations: 226.6 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.3227, allocations: 0.6727 MB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.3239, allocations: 1.21 MB / 1.026 GB, free: 2.406 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007669/0.3247, allocations: 0.4962 MB / 1.026 GB, free: 1.887 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005757/0.3253, allocations: 458 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005327/0.3258, allocations: 461.4 kB / 1.027 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.326, allocations: 100 kB / 1.027 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.3261, allocations: 108 kB / 1.028 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.3264, allocations: 231.1 kB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004203/0.3268, allocations: 0.4891 MB / 1.028 GB, free: 64 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.328, allocations: 1.11 MB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.328, allocations: 4 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.436e-06/0.328, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.328, allocations: 3.938 kB / 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.002456/0.3305, allocations: 1.391 MB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3305, allocations: 12.88 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.3307, allocations: 127.4 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.3319, allocations: 0.7352 MB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.589e-05/0.332, allocations: 84.2 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.3322, allocations: 64.38 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.3335, allocations: 0.7407 MB / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.3335, allocations: 0 / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.159e-05/0.3336, allocations: 24 kB / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.3336, allocations: 20 kB / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.3347, allocations: 0.5204 MB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/0.3382, allocations: 2.271 MB / 1.035 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.3397, allocations: 0.6137 MB / 1.036 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000548/0.3402, allocations: 285 kB / 1.036 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.3403, allocations: 4.562 kB / 1.036 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006845/0.341, allocations: 327 kB / 1.036 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 2.043e-06/0.341, allocations: 0 / 1.036 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.001689/0.3427, allocations: 0.7477 MB / 1.037 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.3428, allocations: 89.67 kB / 1.037 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009552/0.3437, allocations: 0.7555 MB / 1.038 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.3438, allocations: 37.7 kB / 1.038 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.3442, allocations: 440.5 kB / 1.038 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.3444, allocations: 205 kB / 1.039 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.3446, allocations: 110.3 kB / 1.039 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3447, allocations: 330 kB / 1.039 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/0.3452, allocations: 207.4 kB / 1.039 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.3458, allocations: 304.5 kB / 1.039 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.3468, allocations: 0.5113 MB / 1.04 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3468, allocations: 0 / 1.04 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001304/0.3481, allocations: 0.6539 MB / 1.041 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3482, allocations: 7.984 kB / 1.041 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3482, allocations: 4.25 kB / 1.041 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3482, allocations: 8 kB / 1.041 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006445/0.3489, allocations: 139.8 kB / 1.041 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.303e-05/0.3489, allocations: 19.81 kB / 1.041 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004191/0.3493, allocations: 75.34 kB / 1.041 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.3494, allocations: 20 kB / 1.041 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006502/0.35, allocations: 361.4 kB / 1.041 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005117/0.3506, allocations: 288.4 kB / 1.042 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000925/0.3515, allocations: 0.4956 MB / 1.042 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.3515, allocations: 0 / 1.042 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001183/0.3527, allocations: 0.6306 MB / 1.043 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3527, allocations: 11.98 kB / 1.043 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3527, allocations: 0 / 1.043 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.3527, allocations: 8 kB / 1.043 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005995/0.3533, allocations: 135.8 kB / 1.043 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3534, allocations: 11.94 kB / 1.043 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.3538, allocations: 63.64 kB / 1.043 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.3538, allocations: 23.98 kB / 1.043 GB, free: 0.668 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.0002066/0.354, allocations: 212.1 kB / 1.043 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.3542, allocations: 90.88 kB / 1.043 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.3544, allocations: 101.2 kB / 1.043 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.3544, allocations: 8 kB / 1.043 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.3544, allocations: 3.938 kB / 1.043 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3544, allocations: 3.984 kB / 1.043 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.3567, allocations: 1.438 MB / 1.045 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3567, allocations: 0 / 1.045 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005618/0.3572, allocations: 111.8 kB / 1.045 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3573, allocations: 0 / 1.045 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.3573, allocations: 15.98 kB / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.3573, allocations: 4 kB / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3573, allocations: 0 / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.3591, allocations: 0.9625 MB / 1.046 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/0.3594, allocations: 223.7 kB / 1.046 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.63e-05/0.3595, allocations: 12 kB / 1.046 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.3599, allocations: 31.97 kB / 1.046 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.691e-05/0.36, allocations: 40.52 kB / 1.046 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.36, allocations: 19.98 kB / 1.046 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006747/0.3607, allocations: 0.5185 MB / 1.047 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3607, allocations: 0 / 1.047 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007295/0.3615, allocations: 271 kB / 1.047 GB, free: 12.52 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.0001709/0.3616, allocations: 117.7 kB / 1.047 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001919/0.3636, allocations: 0.8213 MB / 1.048 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3636, allocations: 0 / 1.048 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005345/0.3641, allocations: 275.2 kB / 1.048 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.3653, allocations: 276.7 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.002774/0.3681, allocations: 1.6 MB / 1.05 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.3688, allocations: 0.9937 MB / 1.051 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.369, allocations: 71.42 kB / 1.051 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.369, allocations: 4 kB / 1.051 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.01723/0.3863, allocations: 10.91 MB / 1.062 GB, free: 13.47 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=400 -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