Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001416/0.001416, allocations: 104.8 kB / 15.99 MB, free: 5.883 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.001619/0.001619, allocations: 194.6 kB / 16.9 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.836/1.836, allocations: 292.3 MB / 0.5492 GB, free: 17.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001564, allocations: 63.91 kB / 0.6716 GB, free: 6.961 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2642, allocations: 114.6 MB / 0.7835 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.4632/0.7275, allocations: 4.34 MB / 0.7877 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003334/0.7309, allocations: 1.585 MB / 0.7893 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006255/0.7315, allocations: 32.34 kB / 0.7893 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.732, allocations: 124.1 kB / 0.7894 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006191/0.7326, allocations: 185.8 kB / 0.7896 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.7338, allocations: 0.6153 MB / 0.7902 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001132/0.735, allocations: 1.223 MB / 0.7914 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006377/0.7356, allocations: 0.498 MB / 0.7919 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000521/0.7362, allocations: 478.9 kB / 0.7923 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.7366, allocations: 459.9 kB / 0.7928 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.7367, allocations: 102.2 kB / 0.7929 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.7368, allocations: 103.9 kB / 0.793 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.737, allocations: 233.9 kB / 0.7932 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.7373, allocations: 498.6 kB / 0.7937 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006798/0.738, allocations: 0.8621 MB / 0.7945 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.738, allocations: 1.156 kB / 0.7945 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.738, allocations: 0 / 0.7945 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.738, allocations: 0 / 0.7945 GB, free: 44.89 MB / 0.6544 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.002088/0.7401, allocations: 1.397 MB / 0.7959 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.7402, allocations: 7.688 kB / 0.7959 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.7403, allocations: 125.2 kB / 0.796 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.7413, allocations: 0.7336 MB / 0.7967 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.272e-05/0.7414, allocations: 81.97 kB / 0.7968 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.369e-05/0.7415, allocations: 69.03 kB / 0.7969 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.7427, allocations: 0.7315 MB / 0.7976 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.7427, allocations: 4.031 kB / 0.7976 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.7428, allocations: 32.25 kB / 0.7976 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.7428, allocations: 22.72 kB / 0.7976 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009925/0.7438, allocations: 0.5165 MB / 0.7982 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003186/0.747, allocations: 2.275 MB / 0.8004 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.7485, allocations: 0.6208 MB / 0.801 GB, free: 41.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005203/0.749, allocations: 275.6 kB / 0.8012 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.802e-05/0.7491, allocations: 8.422 kB / 0.8013 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008174/0.7499, allocations: 324.2 kB / 0.8016 GB, free: 41.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.494e-06/0.7499, allocations: 4 kB / 0.8016 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.001695/0.7516, allocations: 0.7442 MB / 0.8023 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.7517, allocations: 85.53 kB / 0.8024 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.7528, allocations: 0.7673 MB / 0.8031 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.7529, allocations: 37.86 kB / 0.8032 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.7533, allocations: 442.4 kB / 0.8036 GB, free: 39.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.7534, allocations: 213.6 kB / 0.8038 GB, free: 39.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.7536, allocations: 106.7 kB / 0.8039 GB, free: 39.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.7537, allocations: 330.4 kB / 0.8042 GB, free: 39.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005109/0.7543, allocations: 207 kB / 0.8044 GB, free: 39.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/0.7548, allocations: 308.2 kB / 0.8047 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.7558, allocations: 0.5028 MB / 0.8052 GB, free: 38.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.7558, allocations: 1.156 kB / 0.8052 GB, free: 38.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001392/0.7572, allocations: 0.6555 MB / 0.8058 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.7573, allocations: 7.109 kB / 0.8058 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.7573, allocations: 2.656 kB / 0.8058 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.7573, allocations: 6.312 kB / 0.8058 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.758, allocations: 150 kB / 0.806 GB, free: 38.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.7581, allocations: 12.02 kB / 0.806 GB, free: 38.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.7585, allocations: 72.56 kB / 0.8061 GB, free: 38.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.7586, allocations: 22.27 kB / 0.8061 GB, free: 38.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006509/0.7592, allocations: 354.8 kB / 0.8064 GB, free: 38.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005075/0.7598, allocations: 293 kB / 0.8067 GB, free: 38.15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000894/0.7607, allocations: 494.3 kB / 0.8072 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.346e-06/0.7607, allocations: 0 / 0.8072 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001213/0.7619, allocations: 0.6356 MB / 0.8078 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.7619, allocations: 7.062 kB / 0.8078 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.7619, allocations: 2.625 kB / 0.8078 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.762, allocations: 4.766 kB / 0.8078 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/0.7626, allocations: 138.3 kB / 0.8079 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.7626, allocations: 10.06 kB / 0.8079 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.763, allocations: 59.36 kB / 0.808 GB, free: 37.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/0.7631, allocations: 28.33 kB / 0.808 GB, free: 37.56 MB / 0.6544 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.0001963/0.7633, allocations: 218.9 kB / 0.8082 GB, free: 37.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.7634, allocations: 96.25 kB / 0.8083 GB, free: 37.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.7637, allocations: 102.2 kB / 0.8084 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.7637, allocations: 5.594 kB / 0.8084 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/0.7637, allocations: 3.938 kB / 0.8084 GB, free: 37.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.7638, allocations: 5.281 kB / 0.8084 GB, free: 37.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.7663, allocations: 1.432 MB / 0.8098 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.7663, allocations: 1.031 kB / 0.8098 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.7669, allocations: 108.6 kB / 0.8099 GB, free: 36.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.7669, allocations: 6.75 kB / 0.81 GB, free: 36.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.7669, allocations: 13.09 kB / 0.81 GB, free: 36.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.7669, allocations: 4.156 kB / 0.81 GB, free: 36.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7669, allocations: 0 / 0.81 GB, free: 36.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.7687, allocations: 0.9717 MB / 0.8109 GB, free: 36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.769, allocations: 220.5 kB / 0.8111 GB, free: 35.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.453e-05/0.7691, allocations: 12.66 kB / 0.8111 GB, free: 35.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004381/0.7695, allocations: 34.58 kB / 0.8112 GB, free: 35.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.7697, allocations: 34.3 kB / 0.8112 GB, free: 35.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.7697, allocations: 23.17 kB / 0.8112 GB, free: 35.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007222/0.7704, allocations: 0.5186 MB / 0.8117 GB, free: 35.56 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7704, allocations: 1.312 kB / 0.8117 GB, free: 35.56 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008203/0.7713, allocations: 279.4 kB / 0.812 GB, free: 35.48 MB / 0.6544 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.0001527/0.7714, allocations: 120.5 kB / 0.8121 GB, free: 35.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001929/0.7734, allocations: 0.819 MB / 0.8129 GB, free: 35.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.7734, allocations: 1.594 kB / 0.8129 GB, free: 35.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.7739, allocations: 269.5 kB / 0.8132 GB, free: 35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.7751, allocations: 267.2 kB / 0.8134 GB, free: 34.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.778, allocations: 1.94 MB / 0.8153 GB, free: 33.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.7786, allocations: 0.9943 MB / 0.8163 GB, free: 33 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002648/0.7788, allocations: 64.28 kB / 0.8164 GB, free: 32.99 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.7788, allocations: 4 kB / 0.8164 GB, free: 32.99 MB / 0.6544 GB Notification: Performance of Templates: time 0.02664/0.8055, allocations: 10.98 MB / 0.8271 GB, free: 31.95 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)