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.001852/0.001852, allocations: 107 kB / 16.29 MB, free: 6.43 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.001953/0.001954, allocations: 184 kB / 17.22 MB, free: 5.934 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.672/1.672, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.78/1.78, allocations: 292.3 MB / 0.5495 GB, free: 17.66 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.00146/0.001461, allocations: 59.91 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2554, allocations: 114.5 MB / 0.7841 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.4304/0.6859, allocations: 4.354 MB / 0.7883 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.689, allocations: 1.625 MB / 0.7899 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000717/0.6897, allocations: 34.22 kB / 0.7899 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004407/0.6902, allocations: 168.2 kB / 0.7901 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0008529/0.6911, allocations: 230.6 kB / 0.7903 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.6925, allocations: 0.6574 MB / 0.7909 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001564/0.6941, allocations: 1.232 MB / 0.7922 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007503/0.6949, allocations: 0.4958 MB / 0.7926 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006368/0.6955, allocations: 473.3 kB / 0.7931 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004078/0.6959, allocations: 461.2 kB / 0.7935 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.6961, allocations: 100.3 kB / 0.7936 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.6962, allocations: 104.7 kB / 0.7937 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.6964, allocations: 235.4 kB / 0.7939 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.6967, allocations: 492.2 kB / 0.7944 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009275/0.6977, allocations: 1.158 MB / 0.7955 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6977, allocations: 0 / 0.7955 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6977, allocations: 1.062 kB / 0.7955 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.6977, allocations: 0 / 0.7955 GB, free: 44.83 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.00213/0.6998, allocations: 1.398 MB / 0.7969 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.6999, allocations: 10.25 kB / 0.7969 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.7001, allocations: 123.3 kB / 0.797 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.7012, allocations: 0.7366 MB / 0.7978 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.132e-05/0.7013, allocations: 85.95 kB / 0.7978 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.164e-05/0.7014, allocations: 65.06 kB / 0.7979 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.7026, allocations: 0.7388 MB / 0.7986 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.7026, allocations: 0.7031 kB / 0.7986 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.044e-05/0.7027, allocations: 29.28 kB / 0.7987 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.7027, allocations: 16.97 kB / 0.7987 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.7037, allocations: 0.5116 MB / 0.7992 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/0.707, allocations: 2.257 MB / 0.8014 GB, free: 41.44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.7084, allocations: 0.625 MB / 0.802 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004933/0.7089, allocations: 273.7 kB / 0.8022 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/0.7089, allocations: 7.172 kB / 0.8023 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007198/0.7096, allocations: 324.2 kB / 0.8026 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.244e-06/0.7097, allocations: 0 / 0.8026 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.001586/0.7113, allocations: 0.7539 MB / 0.8033 GB, free: 40.63 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.7113, allocations: 88.17 kB / 0.8034 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009864/0.7123, allocations: 0.7601 MB / 0.8041 GB, free: 40.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/0.7124, allocations: 40.86 kB / 0.8042 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.7127, allocations: 442.8 kB / 0.8046 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.7128, allocations: 208.2 kB / 0.8048 GB, free: 39.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.713, allocations: 105.6 kB / 0.8049 GB, free: 39.6 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.7131, allocations: 335.2 kB / 0.8052 GB, free: 39.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/0.7136, allocations: 208.6 kB / 0.8054 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.7141, allocations: 304.3 kB / 0.8057 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009465/0.7151, allocations: 0.5058 MB / 0.8062 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.7151, allocations: 0.7812 kB / 0.8062 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00133/0.7164, allocations: 0.6506 MB / 0.8068 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.7165, allocations: 11.27 kB / 0.8068 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.7165, allocations: 2.656 kB / 0.8068 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.7165, allocations: 6.281 kB / 0.8068 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/0.7172, allocations: 144.1 kB / 0.807 GB, free: 38.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.7172, allocations: 9.578 kB / 0.807 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004376/0.7177, allocations: 73.52 kB / 0.8071 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/0.7177, allocations: 19.72 kB / 0.8071 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006588/0.7184, allocations: 363.3 kB / 0.8074 GB, free: 38.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004959/0.7189, allocations: 291.2 kB / 0.8077 GB, free: 38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008943/0.7198, allocations: 499.4 kB / 0.8082 GB, free: 37.72 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.7198, allocations: 0.6875 kB / 0.8082 GB, free: 37.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001242/0.7211, allocations: 0.6289 MB / 0.8088 GB, free: 37.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.7211, allocations: 5 kB / 0.8088 GB, free: 37.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.7211, allocations: 2.75 kB / 0.8088 GB, free: 37.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.7211, allocations: 9.312 kB / 0.8088 GB, free: 37.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/0.7217, allocations: 142.8 kB / 0.8089 GB, free: 37.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.7218, allocations: 10.39 kB / 0.809 GB, free: 37.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.7222, allocations: 61.81 kB / 0.809 GB, free: 37.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/0.7222, allocations: 20.95 kB / 0.809 GB, free: 37.38 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.0002031/0.7224, allocations: 218.1 kB / 0.8092 GB, free: 37.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.7226, allocations: 96.56 kB / 0.8093 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.7228, allocations: 101.5 kB / 0.8094 GB, free: 37.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.7228, allocations: 12.59 kB / 0.8094 GB, free: 37.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/0.7228, allocations: 3.938 kB / 0.8094 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.7229, allocations: 4.172 kB / 0.8095 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.7252, allocations: 1.432 MB / 0.8108 GB, free: 36.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.7252, allocations: 5.734 kB / 0.8109 GB, free: 36.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.7258, allocations: 105.5 kB / 0.811 GB, free: 36.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.7258, allocations: 2 kB / 0.811 GB, free: 36.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/0.7259, allocations: 17.72 kB / 0.811 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.7259, allocations: 3.656 kB / 0.811 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7259, allocations: 1.344 kB / 0.811 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.7276, allocations: 0.9651 MB / 0.8119 GB, free: 35.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.7279, allocations: 222.8 kB / 0.8121 GB, free: 35.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.723e-05/0.728, allocations: 10.22 kB / 0.8121 GB, free: 35.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.7284, allocations: 37.09 kB / 0.8122 GB, free: 35.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.7285, allocations: 34.56 kB / 0.8122 GB, free: 35.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.7286, allocations: 19.77 kB / 0.8122 GB, free: 35.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007088/0.7293, allocations: 0.5188 MB / 0.8127 GB, free: 35.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7293, allocations: 0 / 0.8127 GB, free: 35.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007977/0.7301, allocations: 278 kB / 0.813 GB, free: 35.28 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.0001499/0.7303, allocations: 120.4 kB / 0.8131 GB, free: 35.17 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.7319, allocations: 0.7927 MB / 0.8139 GB, free: 34.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7319, allocations: 0 / 0.8139 GB, free: 34.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.7325, allocations: 269.6 kB / 0.8141 GB, free: 34.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.7336, allocations: 274.3 kB / 0.8144 GB, free: 34.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.7362, allocations: 1.552 MB / 0.8159 GB, free: 33.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.7368, allocations: 0.9926 MB / 0.8169 GB, free: 33.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005577/0.7373, allocations: 114.9 kB / 0.817 GB, free: 33.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.7376, allocations: 65 kB / 0.8171 GB, free: 33.17 MB / 0.6544 GB Notification: Performance of SimCode: time 1.383e-06/0.7376, allocations: 5.969 kB / 0.8171 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.02353/0.7611, allocations: 9.273 MB / 0.8261 GB, free: 32.66 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)