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.001338/0.001338, allocations: 112.9 kB / 16.37 MB, free: 6.012 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.001313/0.001313, allocations: 191.4 kB / 17.31 MB, free: 5.617 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.423/1.423, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.791/1.791, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001425/0.001425, allocations: 66.88 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2462, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.3689/0.6151, allocations: 4.351 MB / 0.789 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002822/0.618, allocations: 1.625 MB / 0.7906 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000439/0.6185, allocations: 32.16 kB / 0.7906 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.6189, allocations: 173.5 kB / 0.7908 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005776/0.6195, allocations: 225.2 kB / 0.791 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.6206, allocations: 0.6681 MB / 0.7917 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009163/0.6215, allocations: 1.229 MB / 0.7929 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006058/0.6221, allocations: 0.4943 MB / 0.7934 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000448/0.6226, allocations: 470 kB / 0.7938 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003575/0.623, allocations: 463.1 kB / 0.7942 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.6231, allocations: 103.1 kB / 0.7943 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.497e-05/0.6232, allocations: 103.8 kB / 0.7944 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.6233, allocations: 234.9 kB / 0.7947 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.6236, allocations: 487 kB / 0.7951 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007435/0.6243, allocations: 1.158 MB / 0.7963 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6244, allocations: 3.5 kB / 0.7963 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6244, allocations: 1.219 kB / 0.7963 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.6244, allocations: 0 / 0.7963 GB, free: 45.14 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.002024/0.6264, allocations: 1.406 MB / 0.7976 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.6265, allocations: 6.75 kB / 0.7977 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.6266, allocations: 127.5 kB / 0.7978 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.6277, allocations: 0.7588 MB / 0.7985 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.982e-05/0.6278, allocations: 87.08 kB / 0.7986 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.669e-05/0.6278, allocations: 74.41 kB / 0.7987 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.629, allocations: 0.7322 MB / 0.7994 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.629, allocations: 2.281 kB / 0.7994 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.937e-05/0.629, allocations: 27.3 kB / 0.7994 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.6291, allocations: 15.97 kB / 0.7994 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009977/0.6301, allocations: 0.5167 MB / 0.7999 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.6331, allocations: 2.255 MB / 0.8021 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.6345, allocations: 0.6266 MB / 0.8027 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/0.635, allocations: 265.9 kB / 0.803 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.176e-05/0.6351, allocations: 9.125 kB / 0.803 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006549/0.6358, allocations: 322.2 kB / 0.8033 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.535e-06/0.6358, allocations: 0 / 0.8033 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.001673/0.6374, allocations: 0.7555 MB / 0.8041 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.6375, allocations: 83.69 kB / 0.8041 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009371/0.6385, allocations: 0.7638 MB / 0.8049 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.6385, allocations: 38.89 kB / 0.8049 GB, free: 40.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.6388, allocations: 444.4 kB / 0.8053 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.6389, allocations: 206.1 kB / 0.8055 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.6391, allocations: 110.5 kB / 0.8056 GB, free: 39.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.6392, allocations: 331.2 kB / 0.806 GB, free: 39.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004919/0.6397, allocations: 207.3 kB / 0.8062 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/0.6402, allocations: 305.9 kB / 0.8064 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009626/0.6412, allocations: 0.5076 MB / 0.8069 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6412, allocations: 4.875 kB / 0.8069 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001335/0.6425, allocations: 0.6542 MB / 0.8076 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.6426, allocations: 6.562 kB / 0.8076 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.6426, allocations: 2.375 kB / 0.8076 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.6426, allocations: 5.375 kB / 0.8076 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/0.6433, allocations: 142.9 kB / 0.8077 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.6433, allocations: 14.41 kB / 0.8077 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004295/0.6438, allocations: 69.39 kB / 0.8078 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/0.6438, allocations: 29.06 kB / 0.8078 GB, free: 38.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005902/0.6444, allocations: 350.6 kB / 0.8082 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004629/0.6449, allocations: 297.5 kB / 0.8085 GB, free: 38.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008739/0.6458, allocations: 496.6 kB / 0.8089 GB, free: 37.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.6458, allocations: 1.469 kB / 0.8089 GB, free: 37.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001141/0.6469, allocations: 0.6307 MB / 0.8096 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.647, allocations: 5.75 kB / 0.8096 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.647, allocations: 3.875 kB / 0.8096 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.647, allocations: 7.219 kB / 0.8096 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/0.6476, allocations: 138.2 kB / 0.8097 GB, free: 37.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.6476, allocations: 14.2 kB / 0.8097 GB, free: 37.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.648, allocations: 58.36 kB / 0.8098 GB, free: 37.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/0.6481, allocations: 21.09 kB / 0.8098 GB, free: 37.62 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.0002168/0.6483, allocations: 218.7 kB / 0.81 GB, free: 37.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.6485, allocations: 96.77 kB / 0.8101 GB, free: 37.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.6487, allocations: 102.6 kB / 0.8102 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.6487, allocations: 10.09 kB / 0.8102 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/0.6488, allocations: 5.312 kB / 0.8102 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.6488, allocations: 3.297 kB / 0.8102 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.6515, allocations: 1.435 MB / 0.8116 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6515, allocations: 5.594 kB / 0.8116 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/0.652, allocations: 107.7 kB / 0.8117 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.6521, allocations: 2.031 kB / 0.8117 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.004e-05/0.6521, allocations: 13.28 kB / 0.8117 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.6521, allocations: 2.656 kB / 0.8117 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6521, allocations: 0 / 0.8117 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.654, allocations: 0.972 MB / 0.8127 GB, free: 36.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.6542, allocations: 221.3 kB / 0.8129 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-05/0.6543, allocations: 12.28 kB / 0.8129 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.6548, allocations: 36.17 kB / 0.8129 GB, free: 35.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6549, allocations: 38.88 kB / 0.813 GB, free: 35.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/0.6549, allocations: 19.97 kB / 0.813 GB, free: 35.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006894/0.6556, allocations: 0.5185 MB / 0.8135 GB, free: 35.58 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6556, allocations: 0 / 0.8135 GB, free: 35.58 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007628/0.6564, allocations: 274.6 kB / 0.8138 GB, free: 35.5 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.0001355/0.6565, allocations: 121.6 kB / 0.8139 GB, free: 35.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.6581, allocations: 0.7967 MB / 0.8147 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6581, allocations: 1.594 kB / 0.8147 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004988/0.6587, allocations: 265.1 kB / 0.8149 GB, free: 35.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.6598, allocations: 268.3 kB / 0.8152 GB, free: 34.97 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.6623, allocations: 1.592 MB / 0.8167 GB, free: 34.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.6628, allocations: 0.9973 MB / 0.8177 GB, free: 33.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.663, allocations: 65.66 kB / 0.8178 GB, free: 33.38 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.663, allocations: 0 / 0.8178 GB, free: 33.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.02077/0.6838, allocations: 10.98 MB / 0.8285 GB, free: 32.36 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)