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.001353/0.001353, allocations: 105.8 kB / 16.4 MB, free: 6.457 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.001538/0.001539, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002589/0.002589, allocations: 298.1 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.9629/0.9629, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 95.8 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4537/0.4556, 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.006434/0.4621, allocations: 4.342 MB / 0.7713 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002888/0.465, allocations: 1.586 MB / 0.7728 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003895/0.4654, allocations: 35.81 kB / 0.7728 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.4658, allocations: 166.2 kB / 0.773 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005355/0.4663, allocations: 226.1 kB / 0.7732 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.4675, allocations: 0.6701 MB / 0.7739 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.4685, allocations: 1.222 MB / 0.7751 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006526/0.4692, allocations: 0.5114 MB / 0.7756 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004685/0.4697, allocations: 477.9 kB / 0.776 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.4701, allocations: 461.4 kB / 0.7765 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.4702, allocations: 104 kB / 0.7766 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.4704, allocations: 100 kB / 0.7766 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.4705, allocations: 235.1 kB / 0.7769 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.4709, allocations: 493 kB / 0.7773 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009346/0.4718, allocations: 1.158 MB / 0.7785 GB, free: 8.148 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4718, allocations: 0 / 0.7785 GB, free: 8.148 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4719, allocations: 3.938 kB / 0.7785 GB, free: 8.145 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.4719, 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.002215/0.4741, allocations: 1.395 MB / 0.7798 GB, free: 6.695 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.4741, allocations: 12.03 kB / 0.7798 GB, free: 6.684 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.4743, allocations: 115.5 kB / 0.78 GB, free: 6.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.4756, allocations: 0.7665 MB / 0.7807 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.493e-05/0.4756, allocations: 84.25 kB / 0.7808 GB, free: 5.676 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.91e-05/0.4758, allocations: 68.38 kB / 0.7809 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.4769, allocations: 0.729 MB / 0.7816 GB, free: 4.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.477, allocations: 3.938 kB / 0.7816 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.477, allocations: 28 kB / 0.7816 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.4771, allocations: 19.98 kB / 0.7816 GB, free: 4.789 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.4781, allocations: 0.5165 MB / 0.7821 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.4813, allocations: 2.251 MB / 0.7843 GB, free: 1.949 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.4826, allocations: 0.6166 MB / 0.7849 GB, free: 1.328 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005054/0.4831, allocations: 270.4 kB / 0.7852 GB, free: 1.062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.4832, allocations: 12.55 kB / 0.7852 GB, free: 1.051 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006212/0.4838, allocations: 323 kB / 0.7855 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 1.894e-06/0.4838, allocations: 0 / 0.7855 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of matching and sorting (n=60): time 0.001575/0.4854, allocations: 0.7556 MB / 0.7862 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.4855, allocations: 81.67 kB / 0.7863 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008533/0.4864, allocations: 0.7594 MB / 0.7871 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.4864, allocations: 45.7 kB / 0.7871 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.4867, allocations: 440.4 kB / 0.7875 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.4869, allocations: 201 kB / 0.7877 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.4871, allocations: 110.2 kB / 0.7878 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.4872, allocations: 330 kB / 0.7881 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.4877, allocations: 215.4 kB / 0.7883 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/0.4882, allocations: 304.4 kB / 0.7886 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009819/0.4892, allocations: 0.5074 MB / 0.7891 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4892, allocations: 8 kB / 0.7891 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001191/0.4904, allocations: 0.6423 MB / 0.7898 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.4904, allocations: 8 kB / 0.7898 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4905, allocations: 3.938 kB / 0.7898 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4905, allocations: 8 kB / 0.7898 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/0.4911, allocations: 152 kB / 0.7899 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.4911, allocations: 7.938 kB / 0.7899 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004039/0.4916, allocations: 71.34 kB / 0.79 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.4916, allocations: 20 kB / 0.79 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006009/0.4922, allocations: 369.2 kB / 0.7904 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004725/0.4927, allocations: 288.5 kB / 0.7906 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008971/0.4936, allocations: 499.7 kB / 0.7911 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.385e-06/0.4936, allocations: 0 / 0.7911 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001099/0.4947, allocations: 0.6266 MB / 0.7917 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.4947, allocations: 8.25 kB / 0.7917 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4947, allocations: 4 kB / 0.7917 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.702e-06/0.4948, allocations: 7.938 kB / 0.7918 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/0.4954, allocations: 139.8 kB / 0.7919 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.4954, allocations: 7.984 kB / 0.7919 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.4958, allocations: 55.52 kB / 0.7919 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.4958, allocations: 20 kB / 0.792 GB, free: 9.891 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.0001775/0.496, allocations: 226.6 kB / 0.7922 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.4961, allocations: 94.78 kB / 0.7923 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.4963, allocations: 101.2 kB / 0.7924 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.4963, allocations: 4 kB / 0.7924 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.4963, allocations: 7.938 kB / 0.7924 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4963, allocations: 3.984 kB / 0.7924 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.4985, allocations: 1.435 MB / 0.7938 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4985, allocations: 0 / 0.7938 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/0.499, allocations: 103.8 kB / 0.7939 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.499, allocations: 4 kB / 0.7939 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.4991, allocations: 16 kB / 0.7939 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.4991, allocations: 8 kB / 0.7939 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4991, allocations: 0 / 0.7939 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.5008, allocations: 0.971 MB / 0.7949 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.5011, allocations: 219.9 kB / 0.7951 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.566e-05/0.5012, allocations: 15.98 kB / 0.7951 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.5017, allocations: 31.95 kB / 0.7951 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.5018, allocations: 40.52 kB / 0.7952 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.5018, allocations: 19.98 kB / 0.7952 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006167/0.5024, allocations: 0.5146 MB / 0.7957 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5025, allocations: 4 kB / 0.7957 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006998/0.5032, allocations: 275.1 kB / 0.7959 GB, free: 5.719 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.0001397/0.5033, allocations: 115.1 kB / 0.796 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001642/0.505, allocations: 0.7918 MB / 0.7968 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.505, allocations: 0 / 0.7968 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000536/0.5055, allocations: 275.8 kB / 0.7971 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.5066, allocations: 260.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.002719/0.5094, allocations: 1.574 MB / 0.7989 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.5099, allocations: 0.9937 MB / 0.7998 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.5102, allocations: 63.42 kB / 0.7999 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.5102, allocations: 0 / 0.7999 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of Templates: time 0.01767/0.5279, allocations: 11.17 MB / 0.8108 GB, free: 6.504 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)