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.001081/0.001081, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.452/1.452, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.74/1.74, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.002047/0.002047, allocations: 74.89 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2916, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005818/0.2975, allocations: 4.346 MB / 0.7876 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003354/0.3008, allocations: 1.625 MB / 0.7892 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005558/0.3014, allocations: 35.81 kB / 0.7892 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.3019, allocations: 170.2 kB / 0.7894 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006434/0.3026, allocations: 222.1 kB / 0.7896 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.304, allocations: 0.6751 MB / 0.7903 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.3051, allocations: 1.218 MB / 0.7914 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000717/0.3058, allocations: 0.4965 MB / 0.7919 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.3064, allocations: 473.9 kB / 0.7924 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.3068, allocations: 457.5 kB / 0.7928 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.3069, allocations: 103.9 kB / 0.7929 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.3071, allocations: 108 kB / 0.793 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.3073, allocations: 231.1 kB / 0.7932 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.3076, allocations: 493 kB / 0.7937 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009268/0.3086, allocations: 1.109 MB / 0.7948 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3086, allocations: 4 kB / 0.7948 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3086, allocations: 0 / 0.7948 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.3086, allocations: 0 / 0.7948 GB, free: 1.688 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.00226/0.3109, allocations: 1.403 MB / 0.7962 GB, free: 236 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3109, allocations: 8.031 kB / 0.7962 GB, free: 228 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.3111, allocations: 123.4 kB / 0.7963 GB, free: 104 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.3122, allocations: 0.7353 MB / 0.797 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.904e-05/0.3123, allocations: 84.27 kB / 0.7971 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.817e-05/0.3124, allocations: 68.38 kB / 0.7972 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.3136, allocations: 0.7406 MB / 0.7979 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.3136, allocations: 0 / 0.7979 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.983e-05/0.3137, allocations: 28 kB / 0.7979 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.3137, allocations: 16 kB / 0.7979 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.3147, allocations: 0.5204 MB / 0.7984 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003128/0.3179, allocations: 2.271 MB / 0.8006 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.3192, allocations: 0.6208 MB / 0.8013 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/0.3197, allocations: 281.3 kB / 0.8015 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/0.3198, allocations: 8.5 kB / 0.8015 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008256/0.3206, allocations: 331 kB / 0.8018 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 4.519e-06/0.3207, allocations: 0 / 0.8018 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.001774/0.3224, allocations: 0.7516 MB / 0.8026 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.074e-05/0.3225, allocations: 89.67 kB / 0.8027 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009583/0.3235, allocations: 0.7596 MB / 0.8034 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/0.3236, allocations: 41.7 kB / 0.8034 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/0.3239, allocations: 444.4 kB / 0.8039 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.3242, allocations: 205 kB / 0.8041 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.3243, allocations: 110.3 kB / 0.8042 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3245, allocations: 326 kB / 0.8045 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.325, allocations: 215.4 kB / 0.8047 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.3255, allocations: 304.5 kB / 0.805 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009518/0.3264, allocations: 0.4996 MB / 0.8055 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3265, allocations: 4 kB / 0.8055 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001207/0.3277, allocations: 0.6499 MB / 0.8061 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.3277, allocations: 12.88 kB / 0.8061 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3277, allocations: 256 / 0.8061 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.3278, allocations: 12 kB / 0.8061 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/0.3284, allocations: 147.8 kB / 0.8063 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.3284, allocations: 7.938 kB / 0.8063 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.3289, allocations: 71.34 kB / 0.8063 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.3289, allocations: 20 kB / 0.8064 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006173/0.3295, allocations: 361.4 kB / 0.8067 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004453/0.33, allocations: 288.5 kB / 0.807 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008248/0.3308, allocations: 499.6 kB / 0.8075 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/0.3308, allocations: 4 kB / 0.8075 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001079/0.3319, allocations: 0.6306 MB / 0.8081 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.3319, allocations: 4 kB / 0.8081 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.332, allocations: 4 kB / 0.8081 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-06/0.332, allocations: 4 kB / 0.8081 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/0.3325, allocations: 139.8 kB / 0.8082 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3326, allocations: 4 kB / 0.8082 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003902/0.3329, allocations: 67.62 kB / 0.8083 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.333, allocations: 24 kB / 0.8083 GB, free: 3.387 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.0001941/0.3332, allocations: 214.7 kB / 0.8085 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.3333, allocations: 98.77 kB / 0.8086 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.3335, allocations: 105.3 kB / 0.8087 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/0.3335, allocations: 12.08 kB / 0.8087 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.3336, allocations: 3.938 kB / 0.8087 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.3336, allocations: 3.984 kB / 0.8087 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.3356, allocations: 1.427 MB / 0.8101 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3356, allocations: 0 / 0.8101 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/0.3362, allocations: 115.8 kB / 0.8102 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.3362, allocations: 0 / 0.8102 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.3362, allocations: 15.94 kB / 0.8103 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.3362, allocations: 4 kB / 0.8103 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3362, allocations: 3.938 kB / 0.8103 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.3378, allocations: 0.9703 MB / 0.8112 GB, free: 352 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.3381, allocations: 215.8 kB / 0.8114 GB, free: 116 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.212e-05/0.3382, allocations: 12 kB / 0.8114 GB, free: 104 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.3386, allocations: 35.95 kB / 0.8115 GB, free: 68 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.3387, allocations: 36.52 kB / 0.8115 GB, free: 32 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.3387, allocations: 23.92 kB / 0.8115 GB, free: 8 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006114/0.3394, allocations: 0.5187 MB / 0.812 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3394, allocations: 0 / 0.812 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000664/0.34, allocations: 279 kB / 0.8123 GB, free: 15.2 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.0001464/0.3402, allocations: 111.2 kB / 0.8124 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001747/0.3419, allocations: 0.8235 MB / 0.8132 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3419, allocations: 128 / 0.8132 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004748/0.3424, allocations: 271.1 kB / 0.8135 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.3435, allocations: 275 kB / 0.8137 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.3459, allocations: 1.575 MB / 0.8153 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.3464, allocations: 0.9938 MB / 0.8162 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004602/0.3468, allocations: 122.8 kB / 0.8163 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.347, allocations: 63.44 kB / 0.8164 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.347, allocations: 4 kB / 0.8164 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of Templates: time 0.01606/0.3631, allocations: 9.259 MB / 0.8255 GB, free: 1.77 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)