Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.717/1.717, allocations: 288.3 MB / 303.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 194.4 kB / 371.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.4 MB / 0.6306 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008883/0.0008884, allocations: 103.2 kB / 0.7439 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005653/0.0005654, allocations: 14.5 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2399, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.003398/0.2433, allocations: 3.67 MB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.245, allocations: 1.042 MB / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003384/0.2454, allocations: 23.94 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.2455, allocations: 83.02 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004894/0.246, allocations: 163.4 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.2464, allocations: 279.6 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006502/0.2471, allocations: 0.6715 MB / 0.9852 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005522/0.2476, allocations: 473.1 kB / 0.9857 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.2478, allocations: 254.5 kB / 0.9859 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.2481, allocations: 309.9 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.2481, allocations: 28 kB / 0.9862 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.032e-05/0.2482, allocations: 28 kB / 0.9863 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.274e-05/0.2483, allocations: 147.2 kB / 0.9864 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.412e-05/0.2484, allocations: 177.1 kB / 0.9866 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000648/0.249, allocations: 1.095 MB / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.249, allocations: 0 / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.249, allocations: 0 / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.2491, allocations: 0 / 0.9876 GB, free: 19.25 MB / 0.6198 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.001769/0.2508, allocations: 1.243 MB / 0.9889 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.2509, allocations: 16.02 kB / 0.9889 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.2511, allocations: 130.4 kB / 0.989 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007358/0.2518, allocations: 0.586 MB / 0.9896 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/0.2519, allocations: 77.94 kB / 0.9896 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.964e-05/0.252, allocations: 96 kB / 0.9897 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.2533, allocations: 0.9057 MB / 0.9906 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.2533, allocations: 0 / 0.9906 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/0.2534, allocations: 39.98 kB / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.2534, allocations: 31.94 kB / 0.9907 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.2545, allocations: 0.6792 MB / 0.9914 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003468/0.258, allocations: 2.892 MB / 0.9942 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.2591, allocations: 0.7222 MB / 0.9949 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/0.2591, allocations: 16.58 kB / 0.9949 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000651/0.2598, allocations: 368.3 kB / 0.9953 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 2.926e-06/0.2598, allocations: 4 kB / 0.9953 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.001554/0.2614, allocations: 0.8757 MB / 0.9961 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/0.2614, allocations: 162.9 kB / 0.9963 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005921/0.262, allocations: 0.6216 MB / 0.9969 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.2621, allocations: 45.69 kB / 0.9969 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.2623, allocations: 456.1 kB / 0.9974 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.2625, allocations: 260.2 kB / 0.9976 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.2625, allocations: 16 kB / 0.9976 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.2626, allocations: 337.9 kB / 0.9979 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/0.263, allocations: 249.9 kB / 0.9982 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004982/0.2635, allocations: 386 kB / 0.9985 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.264, allocations: 294.9 kB / 0.9988 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.264, allocations: 4 kB / 0.9988 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001175/0.2652, allocations: 0.7583 MB / 0.9996 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.2654, allocations: 460.9 kB / 1 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2654, allocations: 0 / 1 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.2654, allocations: 8 kB / 1 GB, free: 6.207 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.266, allocations: 159.8 kB / 1 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.266, allocations: 8 kB / 1 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.2664, allocations: 119.2 kB / 1 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.2664, allocations: 24 kB / 1 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.632e-06/0.2664, allocations: 7.953 kB / 1 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006579/0.2671, allocations: 0.5388 MB / 1.001 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2671, allocations: 4.125 kB / 1.001 GB, free: 5.355 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-06/0.2671, allocations: 11.94 kB / 1.001 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/0.2676, allocations: 139.8 kB / 1.001 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.2676, allocations: 4 kB / 1.001 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.2678, allocations: 79.36 kB / 1.001 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.2679, allocations: 23.94 kB / 1.001 GB, free: 5.102 MB / 0.6198 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,$whenCondition1,limPIDInp.trigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002792/0.2682, allocations: 305 kB / 1.001 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.292e-05/0.2683, allocations: 90.92 kB / 1.001 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.2684, allocations: 88.27 kB / 1.002 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.2684, allocations: 4 kB / 1.002 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.2684, allocations: 7.984 kB / 1.002 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.2684, allocations: 0 / 1.002 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.2704, allocations: 1.663 MB / 1.003 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2704, allocations: 3.938 kB / 1.003 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005558/0.271, allocations: 135.9 kB / 1.003 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.271, allocations: 8 kB / 1.003 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.271, allocations: 16 kB / 1.003 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.271, allocations: 3.938 kB / 1.003 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.271, allocations: 0 / 1.003 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.2725, allocations: 1.096 MB / 1.004 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.2726, allocations: 164 kB / 1.005 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.869e-05/0.2726, allocations: 20 kB / 1.005 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.273, allocations: 47.95 kB / 1.005 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.2731, allocations: 36.61 kB / 1.005 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.2731, allocations: 31.98 kB / 1.005 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000391/0.2735, allocations: 439 kB / 1.005 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2735, allocations: 0 / 1.005 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005924/0.2741, allocations: 330.2 kB / 1.005 GB, free: 0.543 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001398/0.2742, allocations: 131.1 kB / 1.006 GB, free: 416 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.2757, allocations: 0.9308 MB / 1.006 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.2758, allocations: 4 kB / 1.006 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005385/0.2763, allocations: 336 kB / 1.007 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000702/0.277, allocations: 150.6 kB / 1.007 GB, free: 15 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.2798, allocations: 1.981 MB / 1.009 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.2804, allocations: 1.025 MB / 1.01 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003951/0.2808, allocations: 89.92 kB / 1.01 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.281, allocations: 63.42 kB / 1.01 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/0.281, allocations: 0 / 1.01 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of Templates: time 0.01374/0.2947, allocations: 7.155 MB / 1.017 GB, free: 4.707 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)