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.001144/0.001144, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001262/0.001262, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.35/1.35, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.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.813/1.813, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001436/0.001436, allocations: 63.64 kB / 0.671 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2978, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.007753/0.3056, allocations: 4.356 MB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00476/0.3104, allocations: 1.583 MB / 0.7886 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.3121, allocations: 35.81 kB / 0.7887 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.3132, allocations: 122.8 kB / 0.7888 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.3152, allocations: 178.8 kB / 0.789 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.3178, allocations: 0.6208 MB / 0.7896 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00262/0.3204, allocations: 1.222 MB / 0.7908 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.3215, allocations: 0.5004 MB / 0.7912 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.3225, allocations: 469.7 kB / 0.7917 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007607/0.3233, allocations: 465.4 kB / 0.7921 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.3235, allocations: 104 kB / 0.7922 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.3236, allocations: 104 kB / 0.7923 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.3239, allocations: 231.1 kB / 0.7926 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004878/0.3244, allocations: 497 kB / 0.793 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.3258, allocations: 1.106 MB / 0.7941 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3258, allocations: 0 / 0.7941 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3258, allocations: 0 / 0.7941 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.3258, allocations: 0 / 0.7941 GB, free: 2.281 MB / 0.6075 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.002725/0.3285, allocations: 1.41 MB / 0.7955 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.3286, allocations: 12.03 kB / 0.7955 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.3288, allocations: 127.4 kB / 0.7956 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.3301, allocations: 0.7275 MB / 0.7963 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.3302, allocations: 80.27 kB / 0.7964 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.3303, allocations: 72.38 kB / 0.7965 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.3317, allocations: 0.7445 MB / 0.7972 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.3318, allocations: 0 / 0.7972 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-05/0.3319, allocations: 28 kB / 0.7972 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.3319, allocations: 19.94 kB / 0.7972 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.333, allocations: 0.5165 MB / 0.7978 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003899/0.3369, allocations: 2.275 MB / 0.8 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.3383, allocations: 0.6308 MB / 0.8006 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/0.3388, allocations: 273.2 kB / 0.8008 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-05/0.3389, allocations: 8.562 kB / 0.8009 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007785/0.3397, allocations: 323 kB / 0.8012 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 2.184e-06/0.3397, allocations: 0 / 0.8012 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.001786/0.3415, allocations: 0.7556 MB / 0.8019 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.298e-05/0.3416, allocations: 85.61 kB / 0.802 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.3426, allocations: 0.7675 MB / 0.8027 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/0.3427, allocations: 33.7 kB / 0.8028 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/0.3431, allocations: 448.5 kB / 0.8032 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.3433, allocations: 201 kB / 0.8034 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.3435, allocations: 110.3 kB / 0.8035 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3436, allocations: 326 kB / 0.8038 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004637/0.3441, allocations: 211.4 kB / 0.804 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.3446, allocations: 304.4 kB / 0.8043 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009499/0.3456, allocations: 0.4997 MB / 0.8048 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3456, allocations: 0 / 0.8048 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001277/0.3469, allocations: 0.6617 MB / 0.8054 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3469, allocations: 10.59 kB / 0.8054 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.3469, allocations: 8.25 kB / 0.8054 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3469, allocations: 4 kB / 0.8054 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006851/0.3476, allocations: 143.8 kB / 0.8056 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/0.3477, allocations: 11.92 kB / 0.8056 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.3481, allocations: 71.34 kB / 0.8057 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.3482, allocations: 27.98 kB / 0.8057 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006671/0.3488, allocations: 353.4 kB / 0.806 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004789/0.3493, allocations: 292.4 kB / 0.8063 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009153/0.3503, allocations: 495.7 kB / 0.8068 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.973e-06/0.3503, allocations: 0 / 0.8068 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001186/0.3515, allocations: 0.6345 MB / 0.8074 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3515, allocations: 4 kB / 0.8074 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3515, allocations: 4 kB / 0.8074 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/0.3515, allocations: 4 kB / 0.8074 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.3521, allocations: 139.8 kB / 0.8075 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3521, allocations: 7.938 kB / 0.8076 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.3525, allocations: 71.62 kB / 0.8076 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.3526, allocations: 20 kB / 0.8076 GB, free: 3.961 MB / 0.6231 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.0002275/0.3528, allocations: 216.1 kB / 0.8078 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.353, allocations: 98.78 kB / 0.8079 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.3532, allocations: 101.3 kB / 0.808 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.3532, allocations: 4 kB / 0.808 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.3532, allocations: 3.938 kB / 0.808 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.3532, allocations: 7.984 kB / 0.8081 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.3555, allocations: 1.435 MB / 0.8095 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3555, allocations: 0 / 0.8095 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000556/0.3561, allocations: 111.8 kB / 0.8096 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3561, allocations: 4 kB / 0.8096 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.3561, allocations: 12 kB / 0.8096 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-06/0.3561, allocations: 4 kB / 0.8096 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3561, allocations: 3.938 kB / 0.8096 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.3578, allocations: 0.9625 MB / 0.8105 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.3581, allocations: 219.8 kB / 0.8107 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.991e-05/0.3582, allocations: 15.94 kB / 0.8107 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.3586, allocations: 31.97 kB / 0.8108 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/0.3587, allocations: 44.5 kB / 0.8108 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.3587, allocations: 16 kB / 0.8108 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006456/0.3594, allocations: 0.5226 MB / 0.8113 GB, free: 52 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3594, allocations: 0 / 0.8113 GB, free: 52 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007239/0.3601, allocations: 271 kB / 0.8116 GB, free: 15.78 MB / 0.6387 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.0001617/0.3603, allocations: 119.3 kB / 0.8117 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001843/0.3622, allocations: 0.8212 MB / 0.8125 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3622, allocations: 4.125 kB / 0.8125 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005056/0.3627, allocations: 267.1 kB / 0.8128 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.3639, allocations: 281.9 kB / 0.813 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.3666, allocations: 1.899 MB / 0.8149 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/0.3672, allocations: 0.9977 MB / 0.8159 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005075/0.3677, allocations: 110.7 kB / 0.816 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.3679, allocations: 71.42 kB / 0.8161 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of SimCode: time 3.8e-07/0.3679, allocations: 0 / 0.8161 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of Templates: time 0.01811/0.386, allocations: 9.172 MB / 0.825 GB, free: 2.109 MB / 0.6387 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)