Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009153/0.0009153, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006992/0.006992, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.705/1.705, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.776/1.776, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0009195/0.0009192, allocations: 21.42 kB / 0.6743 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2866, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.004067/0.2907, allocations: 2.841 MB / 0.7907 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003851/0.2946, allocations: 1.646 MB / 0.7923 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.2957, allocations: 19.94 kB / 0.7923 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006311/0.2963, allocations: 114.9 kB / 0.7924 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008128/0.2972, allocations: 91.31 kB / 0.7925 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006883/0.2979, allocations: 295.7 kB / 0.7928 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001098/0.299, allocations: 0.9789 MB / 0.7937 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008602/0.2998, allocations: 0.5802 MB / 0.7943 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.3001, allocations: 250.3 kB / 0.7945 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.3005, allocations: 313.7 kB / 0.7948 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.3005, allocations: 24 kB / 0.7949 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.684e-05/0.3006, allocations: 31.94 kB / 0.7949 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.3007, allocations: 135.2 kB / 0.795 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.301, allocations: 390.9 kB / 0.7954 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009499/0.302, allocations: 1.164 MB / 0.7965 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.302, allocations: 0 / 0.7965 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.836e-06/0.302, allocations: 3.938 kB / 0.7965 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.302, allocations: 4 kB / 0.7965 GB, free: 2.633 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002132/0.3042, allocations: 1.173 MB / 0.7977 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.3042, allocations: 16.03 kB / 0.7977 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.3044, allocations: 119.5 kB / 0.7978 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008273/0.3053, allocations: 0.587 MB / 0.7984 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/0.3054, allocations: 66.38 kB / 0.7984 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.3055, allocations: 96.28 kB / 0.7985 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.3071, allocations: 0.8593 MB / 0.7994 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.3071, allocations: 192 / 0.7994 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.142e-05/0.3072, allocations: 43.94 kB / 0.7994 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.3073, allocations: 24 kB / 0.7994 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.3085, allocations: 0.6285 MB / 0.8001 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004145/0.3127, allocations: 2.732 MB / 0.8027 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.3143, allocations: 1.326 MB / 0.804 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006307/0.315, allocations: 394.7 kB / 0.8044 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-05/0.315, allocations: 8.562 kB / 0.8044 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007235/0.3158, allocations: 359 kB / 0.8047 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 3.757e-06/0.3158, allocations: 0 / 0.8047 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.001631/0.3174, allocations: 0.8066 MB / 0.8055 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.3175, allocations: 166.8 kB / 0.8057 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000707/0.3183, allocations: 0.5979 MB / 0.8063 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.3183, allocations: 41.69 kB / 0.8063 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.3186, allocations: 420 kB / 0.8067 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.3188, allocations: 232.5 kB / 0.8069 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-05/0.3189, allocations: 65.69 kB / 0.807 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3191, allocations: 390.6 kB / 0.8074 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.3196, allocations: 241.1 kB / 0.8076 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/0.3203, allocations: 353.4 kB / 0.8079 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.3213, allocations: 0.5312 MB / 0.8085 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3213, allocations: 0 / 0.8085 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001309/0.3226, allocations: 0.676 MB / 0.8091 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.3227, allocations: 118.3 kB / 0.8092 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.3228, allocations: 0 / 0.8092 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/0.3228, allocations: 4 kB / 0.8092 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/0.3234, allocations: 155.8 kB / 0.8094 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.158e-05/0.3234, allocations: 11.88 kB / 0.8094 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.3238, allocations: 107.4 kB / 0.8095 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.3239, allocations: 16 kB / 0.8095 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.839e-06/0.3239, allocations: 4 kB / 0.8095 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007499/0.3247, allocations: 479.6 kB / 0.81 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3247, allocations: 3.984 kB / 0.81 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/0.3247, allocations: 4 kB / 0.81 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.3251, allocations: 123.8 kB / 0.8101 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.3251, allocations: 12.09 kB / 0.8101 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.3254, allocations: 87.34 kB / 0.8102 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.3254, allocations: 16 kB / 0.8102 GB, free: 4.105 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0003728/0.3258, allocations: 296.9 kB / 0.8105 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.987e-05/0.3259, allocations: 75.06 kB / 0.8106 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.3261, allocations: 82.95 kB / 0.8106 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.3261, allocations: 8 kB / 0.8106 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.3261, allocations: 3.984 kB / 0.8107 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3261, allocations: 0 / 0.8107 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.3286, allocations: 1.59 MB / 0.8122 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3286, allocations: 0 / 0.8122 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005294/0.3291, allocations: 135.8 kB / 0.8123 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.3291, allocations: 4 kB / 0.8123 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.3292, allocations: 19.94 kB / 0.8124 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3292, allocations: 4 kB / 0.8124 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3292, allocations: 0 / 0.8124 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.3308, allocations: 1.022 MB / 0.8134 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.3309, allocations: 152.1 kB / 0.8135 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/0.331, allocations: 15.94 kB / 0.8135 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.3314, allocations: 59.95 kB / 0.8136 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.3315, allocations: 40.5 kB / 0.8136 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.3315, allocations: 16 kB / 0.8136 GB, free: 496 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004656/0.332, allocations: 423.2 kB / 0.814 GB, free: 80 kB / 0.6231 GB Notification: Performance of sort global known variables: time 3.21e-07/0.332, allocations: 0 / 0.814 GB, free: 80 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007239/0.3327, allocations: 314.4 kB / 0.8143 GB, free: 15.77 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 68 * 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 Backend phase and start with SimCode phase: time 0.0002068/0.3329, allocations: 125 kB / 0.8145 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.3344, allocations: 0.8358 MB / 0.8153 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.3344, allocations: 0 / 0.8153 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005085/0.335, allocations: 311.2 kB / 0.8156 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008097/0.3358, allocations: 130.9 kB / 0.8157 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.3384, allocations: 1.917 MB / 0.8176 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006237/0.3391, allocations: 0.9781 MB / 0.8185 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003516/0.3394, allocations: 93.25 kB / 0.8186 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.3396, allocations: 51.44 kB / 0.8187 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of SimCode: time 1.332e-06/0.3396, allocations: 0 / 0.8187 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of Templates: time 0.01447/0.3541, allocations: 6.783 MB / 0.8253 GB, free: 4.566 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) Environment - environmentSimulation: