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.001282/0.001282, allocations: 109.4 kB / 15.69 MB, free: 128 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.001552/0.001552, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.566/1.566, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.851/1.851, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001477/0.001477, allocations: 74.75 kB / 0.6723 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.288, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.004301/0.2924, allocations: 3.293 MB / 0.7874 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002381/0.2948, allocations: 1.708 MB / 0.789 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003815/0.2952, allocations: 23.94 kB / 0.789 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.2956, allocations: 158.2 kB / 0.7892 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.296, allocations: 138.6 kB / 0.7893 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.2965, allocations: 347.5 kB / 0.7897 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009199/0.2975, allocations: 1.061 MB / 0.7907 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008034/0.2983, allocations: 0.6115 MB / 0.7913 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.2987, allocations: 398.3 kB / 0.7917 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/0.299, allocations: 449.5 kB / 0.7921 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.2992, allocations: 124 kB / 0.7922 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.2993, allocations: 119.9 kB / 0.7923 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.2995, allocations: 255.1 kB / 0.7926 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003465/0.2998, allocations: 489.2 kB / 0.793 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.3009, allocations: 1.315 MB / 0.7943 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3009, allocations: 0 / 0.7943 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.301, allocations: 0 / 0.7943 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.301, allocations: 0 / 0.7943 GB, free: 2.203 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.002204/0.3032, allocations: 1.329 MB / 0.7956 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3032, allocations: 12.02 kB / 0.7956 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.3034, allocations: 119.5 kB / 0.7958 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008714/0.3043, allocations: 0.5987 MB / 0.7963 GB, free: 52 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-05/0.3044, allocations: 66.45 kB / 0.7964 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.3045, allocations: 96.28 kB / 0.7965 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.3058, allocations: 0.8476 MB / 0.7973 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.3059, allocations: 192 / 0.7973 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.119e-05/0.3059, allocations: 39.94 kB / 0.7974 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.306, allocations: 20 kB / 0.7974 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.3071, allocations: 0.5973 MB / 0.798 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003587/0.3107, allocations: 2.661 MB / 0.8006 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.3122, allocations: 1.298 MB / 0.8018 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/0.3129, allocations: 366.6 kB / 0.8022 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.697e-05/0.313, allocations: 16.56 kB / 0.8022 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006388/0.3136, allocations: 331 kB / 0.8025 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 2.795e-06/0.3136, allocations: 0 / 0.8025 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.001537/0.3152, allocations: 0.7598 MB / 0.8032 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.3153, allocations: 166.8 kB / 0.8034 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006948/0.316, allocations: 0.594 MB / 0.804 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.316, allocations: 37.7 kB / 0.804 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.3163, allocations: 424 kB / 0.8044 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.3165, allocations: 240.5 kB / 0.8047 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.3167, allocations: 118.3 kB / 0.8048 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3168, allocations: 386.7 kB / 0.8051 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/0.3173, allocations: 227.3 kB / 0.8054 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/0.3178, allocations: 337.4 kB / 0.8057 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008809/0.3187, allocations: 0.4922 MB / 0.8062 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3187, allocations: 0 / 0.8062 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00119/0.3199, allocations: 0.6526 MB / 0.8068 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.3199, allocations: 12.09 kB / 0.8068 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.32, allocations: 3.938 kB / 0.8068 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.32, allocations: 4 kB / 0.8068 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.3205, allocations: 143.9 kB / 0.807 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.3205, allocations: 4 kB / 0.807 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/0.3209, allocations: 91.33 kB / 0.807 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.321, allocations: 19.94 kB / 0.8071 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004344/0.3214, allocations: 338 kB / 0.8074 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000332/0.3217, allocations: 289.4 kB / 0.8077 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005373/0.3223, allocations: 420 kB / 0.8081 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.3223, allocations: 4 kB / 0.8081 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.000766/0.3231, allocations: 0.5552 MB / 0.8086 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.3231, allocations: 4 kB / 0.8086 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3231, allocations: 3.984 kB / 0.8086 GB, free: 3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/0.3231, allocations: 7.984 kB / 0.8086 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.3235, allocations: 131.8 kB / 0.8087 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3235, allocations: 4 kB / 0.8088 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.3239, allocations: 71.56 kB / 0.8088 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.3239, allocations: 24 kB / 0.8088 GB, free: 2.766 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.0002037/0.3241, allocations: 227.9 kB / 0.8091 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.11e-05/0.3242, allocations: 71.16 kB / 0.8091 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.3244, allocations: 78.95 kB / 0.8092 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.3244, allocations: 8 kB / 0.8092 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.3244, allocations: 0 / 0.8092 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.495e-06/0.3244, allocations: 3.984 kB / 0.8092 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.3267, allocations: 1.544 MB / 0.8107 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3268, allocations: 0 / 0.8107 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/0.3273, allocations: 139.7 kB / 0.8109 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3273, allocations: 0 / 0.8109 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.3273, allocations: 12 kB / 0.8109 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.247e-06/0.3274, allocations: 4 kB / 0.8109 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3274, allocations: 0 / 0.8109 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.329, allocations: 0.9681 MB / 0.8118 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.3291, allocations: 163.9 kB / 0.812 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.17e-05/0.3292, allocations: 15.94 kB / 0.812 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.3295, allocations: 48.05 kB / 0.812 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/0.3296, allocations: 40.45 kB / 0.8121 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.3296, allocations: 23.97 kB / 0.8121 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004993/0.3302, allocations: 419.1 kB / 0.8125 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3302, allocations: 0 / 0.8125 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007061/0.3309, allocations: 306.5 kB / 0.8128 GB, free: 14.62 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.0002207/0.3311, allocations: 117.8 kB / 0.8129 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001396/0.3325, allocations: 0.8044 MB / 0.8137 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.3325, allocations: 4 kB / 0.8137 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004858/0.333, allocations: 291.4 kB / 0.814 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007325/0.3338, allocations: 155.3 kB / 0.8141 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.3362, allocations: 1.488 MB / 0.8156 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.3367, allocations: 0.9739 MB / 0.8165 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000339/0.3371, allocations: 89.19 kB / 0.8166 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.3373, allocations: 59.42 kB / 0.8167 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/0.3373, allocations: 4 kB / 0.8167 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.01428/0.3516, allocations: 7.201 MB / 0.8237 GB, free: 3.465 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (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)