Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001173/0.001173, allocations: 104.5 kB / 16.41 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.001152/0.001153, allocations: 187 kB / 17.34 MB, free: 5.742 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002376/0.002377, allocations: 289.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9798/0.9798, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 99.84 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5342/0.5363, allocations: 86.98 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.LimPIDReset): time 0.006323/0.5427, allocations: 4.339 MB / 0.7713 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004185/0.5469, allocations: 1.582 MB / 0.7728 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006255/0.5475, allocations: 35.81 kB / 0.7728 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005155/0.5481, allocations: 170.2 kB / 0.773 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007729/0.5489, allocations: 220.2 kB / 0.7732 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.5505, allocations: 0.6824 MB / 0.7739 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001157/0.5516, allocations: 1.222 MB / 0.7751 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007744/0.5524, allocations: 0.5115 MB / 0.7756 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005134/0.5529, allocations: 466 kB / 0.776 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004899/0.5534, allocations: 465.4 kB / 0.7764 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.5536, allocations: 104 kB / 0.7765 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.5537, allocations: 100 kB / 0.7766 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.5539, allocations: 239 kB / 0.7769 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003765/0.5543, allocations: 489.1 kB / 0.7773 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.5555, allocations: 1.162 MB / 0.7785 GB, free: 8.148 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.5555, allocations: 3.938 kB / 0.7785 GB, free: 8.145 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5555, allocations: 0 / 0.7785 GB, free: 8.145 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.103e-05/0.5556, allocations: 0 / 0.7785 GB, free: 8.145 MB / 0.545 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.002568/0.5581, allocations: 1.395 MB / 0.7798 GB, free: 6.695 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.5582, allocations: 12.03 kB / 0.7798 GB, free: 6.684 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.5584, allocations: 115.5 kB / 0.78 GB, free: 6.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.5598, allocations: 0.7665 MB / 0.7807 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-05/0.5599, allocations: 84.25 kB / 0.7808 GB, free: 5.676 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.875e-05/0.56, allocations: 72.31 kB / 0.7809 GB, free: 5.605 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.5613, allocations: 0.729 MB / 0.7816 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.5613, allocations: 0 / 0.7816 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/0.5614, allocations: 32 kB / 0.7816 GB, free: 4.805 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.5614, allocations: 20 kB / 0.7816 GB, free: 4.785 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.5625, allocations: 0.5243 MB / 0.7821 GB, free: 4.262 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003228/0.5657, allocations: 2.243 MB / 0.7843 GB, free: 1.945 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.5672, allocations: 0.6166 MB / 0.7849 GB, free: 1.324 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005274/0.5677, allocations: 280.8 kB / 0.7852 GB, free: 1.051 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.5678, allocations: 4.562 kB / 0.7852 GB, free: 1.047 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006774/0.5684, allocations: 331 kB / 0.7855 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 2.064e-06/0.5685, allocations: 0 / 0.7855 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of matching and sorting (n=60): time 0.001762/0.5702, allocations: 0.7478 MB / 0.7862 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/0.5703, allocations: 81.67 kB / 0.7863 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009233/0.5712, allocations: 0.7672 MB / 0.7871 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/0.5713, allocations: 37.7 kB / 0.7871 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.5717, allocations: 436.5 kB / 0.7875 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.5719, allocations: 204.9 kB / 0.7877 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.5721, allocations: 114.2 kB / 0.7878 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5722, allocations: 326 kB / 0.7881 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/0.5727, allocations: 215.4 kB / 0.7883 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/0.5732, allocations: 304.4 kB / 0.7886 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009991/0.5742, allocations: 0.5075 MB / 0.7891 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.5743, allocations: 0 / 0.7891 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001261/0.5755, allocations: 0.65 MB / 0.7898 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.5756, allocations: 8 kB / 0.7898 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5756, allocations: 4 kB / 0.7898 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.993e-05/0.5756, allocations: 4 kB / 0.7898 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006869/0.5763, allocations: 148 kB / 0.7899 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.5763, allocations: 11.88 kB / 0.7899 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.5768, allocations: 71.34 kB / 0.79 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.5768, allocations: 27.94 kB / 0.79 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008185/0.5777, allocations: 353.4 kB / 0.7904 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005244/0.5782, allocations: 292.5 kB / 0.7906 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009681/0.5792, allocations: 491.7 kB / 0.7911 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.088e-06/0.5792, allocations: 4 kB / 0.7911 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001161/0.5804, allocations: 0.6306 MB / 0.7917 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/0.5804, allocations: 8.031 kB / 0.7917 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.5804, allocations: 4 kB / 0.7917 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/0.5804, allocations: 4 kB / 0.7917 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006757/0.5811, allocations: 139.8 kB / 0.7919 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.5811, allocations: 4 kB / 0.7919 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.5815, allocations: 63.5 kB / 0.7919 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.5816, allocations: 20 kB / 0.792 GB, free: 9.895 MB / 0.5606 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.0002316/0.5818, allocations: 218.6 kB / 0.7922 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.582, allocations: 98.77 kB / 0.7923 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.5822, allocations: 105.2 kB / 0.7924 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.5822, allocations: 4 kB / 0.7924 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/0.5822, allocations: 7.938 kB / 0.7924 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.5822, allocations: 3.984 kB / 0.7924 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/0.585, allocations: 1.431 MB / 0.7938 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5851, allocations: 0 / 0.7938 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005701/0.5856, allocations: 103.8 kB / 0.7939 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.5857, allocations: 8 kB / 0.7939 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.5857, allocations: 12 kB / 0.7939 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.5857, allocations: 15.88 kB / 0.7939 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5857, allocations: 0 / 0.7939 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.5876, allocations: 0.9633 MB / 0.7949 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.5879, allocations: 219.9 kB / 0.7951 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.5881, allocations: 12 kB / 0.7951 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/0.5885, allocations: 39.94 kB / 0.7951 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.5887, allocations: 32.52 kB / 0.7951 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.5887, allocations: 19.98 kB / 0.7952 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007547/0.5895, allocations: 0.5185 MB / 0.7957 GB, free: 6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5895, allocations: 0 / 0.7957 GB, free: 6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008289/0.5903, allocations: 275.1 kB / 0.7959 GB, free: 5.73 MB / 0.5606 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.0001652/0.5905, allocations: 118.1 kB / 0.796 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001854/0.5923, allocations: 0.7917 MB / 0.7968 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5924, allocations: 80 / 0.7968 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005255/0.5929, allocations: 279.9 kB / 0.7971 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.5941, allocations: 266.4 kB / 0.7973 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.597, allocations: 1.57 MB / 0.7989 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.5977, allocations: 0.9937 MB / 0.7998 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.5979, allocations: 63.42 kB / 0.7999 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of SimCode: time 8.51e-07/0.5979, allocations: 3.938 kB / 0.7999 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of Templates: time 0.01982/0.6178, allocations: 11.03 MB / 0.8107 GB, free: 6.645 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)