Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 105.3 kB / 16.36 MB, free: 6.309 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.002081/0.002081, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.437/1.437, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.818/1.818, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001475/0.001475, allocations: 71.91 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2619, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.4595/0.7214, allocations: 4.406 MB / 0.7891 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.7238, allocations: 1.106 MB / 0.7902 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004853/0.7244, allocations: 22.78 kB / 0.7902 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004664/0.7248, allocations: 187 kB / 0.7904 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004539/0.7254, allocations: 145.6 kB / 0.7905 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.7259, allocations: 377.4 kB / 0.7909 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009258/0.7269, allocations: 1.161 MB / 0.792 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008124/0.7277, allocations: 0.6599 MB / 0.7927 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.728, allocations: 417.7 kB / 0.7931 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.7284, allocations: 477.2 kB / 0.7935 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.7285, allocations: 127.5 kB / 0.7936 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.7287, allocations: 123.2 kB / 0.7938 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.7288, allocations: 272.3 kB / 0.794 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002974/0.7291, allocations: 0.5141 MB / 0.7945 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.7301, allocations: 1.469 MB / 0.7959 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.7302, allocations: 3.938 kB / 0.796 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7302, allocations: 0.625 kB / 0.796 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.7302, allocations: 0.7188 kB / 0.796 GB, free: 45.21 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002128/0.7323, allocations: 1.402 MB / 0.7973 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.7324, allocations: 10 kB / 0.7973 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.7325, allocations: 124.9 kB / 0.7975 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007864/0.7333, allocations: 0.6268 MB / 0.7981 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/0.7334, allocations: 74.94 kB / 0.7981 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.7335, allocations: 102.1 kB / 0.7982 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.7349, allocations: 0.9003 MB / 0.7991 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.7349, allocations: 7.125 kB / 0.7991 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.287e-05/0.735, allocations: 45.34 kB / 0.7992 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.735, allocations: 21.16 kB / 0.7992 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.7362, allocations: 0.6506 MB / 0.7998 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003983/0.7402, allocations: 2.814 MB / 0.8026 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.7414, allocations: 0.6935 MB / 0.8032 GB, free: 41.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007081/0.7422, allocations: 398.6 kB / 0.8036 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.334e-05/0.7422, allocations: 11.39 kB / 0.8036 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007058/0.7429, allocations: 364.6 kB / 0.804 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=74): time 3.086e-06/0.7429, allocations: 0 / 0.804 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74): time 0.00178/0.7447, allocations: 0.8399 MB / 0.8048 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.7448, allocations: 164.6 kB / 0.805 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008748/0.7457, allocations: 0.625 MB / 0.8056 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.862e-05/0.7458, allocations: 43.02 kB / 0.8056 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.7461, allocations: 460.1 kB / 0.806 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.7463, allocations: 264.2 kB / 0.8063 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.7465, allocations: 126.2 kB / 0.8064 GB, free: 39.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.7467, allocations: 333.5 kB / 0.8067 GB, free: 39.17 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/0.7472, allocations: 251 kB / 0.807 GB, free: 39.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/0.7479, allocations: 380.5 kB / 0.8073 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.749, allocations: 0.5625 MB / 0.8079 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.749, allocations: 0.5 kB / 0.8079 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001418/0.7504, allocations: 0.7454 MB / 0.8086 GB, free: 38.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.7504, allocations: 6.594 kB / 0.8086 GB, free: 38.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.7505, allocations: 1.031 kB / 0.8086 GB, free: 38.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.7505, allocations: 8.438 kB / 0.8086 GB, free: 38.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/0.7511, allocations: 157.4 kB / 0.8088 GB, free: 38.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.7512, allocations: 8.328 kB / 0.8088 GB, free: 38.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.7516, allocations: 95.56 kB / 0.8089 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.7516, allocations: 25.95 kB / 0.8089 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005728/0.7522, allocations: 364.6 kB / 0.8093 GB, free: 37.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004086/0.7526, allocations: 326.7 kB / 0.8096 GB, free: 37.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006607/0.7533, allocations: 489 kB / 0.81 GB, free: 37.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.874e-06/0.7533, allocations: 0 / 0.81 GB, free: 37.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.00102/0.7543, allocations: 0.6434 MB / 0.8107 GB, free: 37.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.7544, allocations: 10.25 kB / 0.8107 GB, free: 37.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.7544, allocations: 2 kB / 0.8107 GB, free: 37.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.7544, allocations: 4.875 kB / 0.8107 GB, free: 37.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/0.7549, allocations: 139.5 kB / 0.8108 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.7549, allocations: 8.953 kB / 0.8108 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.7553, allocations: 78.55 kB / 0.8109 GB, free: 37.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.7553, allocations: 20.12 kB / 0.8109 GB, free: 37.16 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0001919/0.7555, allocations: 221.8 kB / 0.8111 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.7556, allocations: 86.69 kB / 0.8112 GB, free: 36.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.7558, allocations: 94.17 kB / 0.8113 GB, free: 36.83 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.7558, allocations: 7.938 kB / 0.8113 GB, free: 36.83 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/0.7558, allocations: 4 kB / 0.8113 GB, free: 36.83 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.7559, allocations: 5.312 kB / 0.8113 GB, free: 36.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/0.7584, allocations: 1.629 MB / 0.8129 GB, free: 36.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.7585, allocations: 0.6562 kB / 0.8129 GB, free: 36.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/0.7591, allocations: 135.3 kB / 0.813 GB, free: 36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.7591, allocations: 5.328 kB / 0.813 GB, free: 36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.7591, allocations: 19.2 kB / 0.8131 GB, free: 35.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.7591, allocations: 2.281 kB / 0.8131 GB, free: 35.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7591, allocations: 0 / 0.8131 GB, free: 35.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.7609, allocations: 1.059 MB / 0.8141 GB, free: 35.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.761, allocations: 161.9 kB / 0.8142 GB, free: 35.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.7611, allocations: 16.17 kB / 0.8143 GB, free: 35.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.7614, allocations: 47.25 kB / 0.8143 GB, free: 35.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.7615, allocations: 38.86 kB / 0.8143 GB, free: 35.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.7616, allocations: 21.05 kB / 0.8144 GB, free: 35.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005734/0.7621, allocations: 442.2 kB / 0.8148 GB, free: 35.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7621, allocations: 0 / 0.8148 GB, free: 35.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008477/0.763, allocations: 336.1 kB / 0.8151 GB, free: 34.98 MB / 0.6544 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 (74): * Single equations (assignments): 74 * 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.0001798/0.7632, allocations: 132.6 kB / 0.8152 GB, free: 34.87 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001985/0.7652, allocations: 0.9052 MB / 0.8161 GB, free: 34.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.7652, allocations: 1.531 kB / 0.8161 GB, free: 34.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.7658, allocations: 318.2 kB / 0.8164 GB, free: 34.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008208/0.7666, allocations: 176.5 kB / 0.8166 GB, free: 34.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.7692, allocations: 1.636 MB / 0.8182 GB, free: 33.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/0.7698, allocations: 1.009 MB / 0.8192 GB, free: 32.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.77, allocations: 64.09 kB / 0.8192 GB, free: 32.81 MB / 0.6544 GB Notification: Performance of SimCode: time 3.61e-07/0.77, allocations: 0 / 0.8192 GB, free: 32.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.02257/0.7926, allocations: 10.16 MB / 0.8292 GB, free: 31.78 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)