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.705/1.705, allocations: 288.4 MB / 303.7 MB, free: 8.086 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.000959/0.000959, allocations: 180.5 kB / 372.3 MB, free: 10.14 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.366/1.366, allocations: 205.4 MB / 0.631 GB, free: 9.93 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.000786/0.0007859, allocations: 82.38 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.0004529, allocations: 15.38 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2384, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.003243/0.2417, allocations: 3.646 MB / 0.9837 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.2433, allocations: 1.038 MB / 0.9847 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003179/0.2436, allocations: 27.88 kB / 0.9848 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.2439, allocations: 130.7 kB / 0.9849 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.2443, allocations: 99.11 kB / 0.985 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.2446, allocations: 235.7 kB / 0.9852 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006552/0.2453, allocations: 1.034 MB / 0.9862 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006734/0.246, allocations: 0.6277 MB / 0.9868 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.2462, allocations: 246.4 kB / 0.9871 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.2464, allocations: 321.7 kB / 0.9874 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/0.2465, allocations: 28 kB / 0.9874 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.812e-05/0.2465, allocations: 28 kB / 0.9874 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/0.2466, allocations: 143.2 kB / 0.9875 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.2468, allocations: 383.1 kB / 0.9879 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006102/0.2474, allocations: 1.103 MB / 0.989 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.2475, allocations: 0 / 0.989 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2475, allocations: 0 / 0.989 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.2475, allocations: 4 kB / 0.989 GB, free: 18.23 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.001644/0.2491, allocations: 1.228 MB / 0.9902 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2492, allocations: 8.031 kB / 0.9902 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.2493, allocations: 131.3 kB / 0.9903 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.2499, allocations: 0.6179 MB / 0.9909 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.25, allocations: 74.38 kB / 0.991 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.283e-05/0.2501, allocations: 100.3 kB / 0.9911 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.2514, allocations: 0.9101 MB / 0.992 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.2514, allocations: 4.125 kB / 0.992 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.2515, allocations: 47.92 kB / 0.992 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.2515, allocations: 24 kB / 0.9921 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.2526, allocations: 0.6754 MB / 0.9927 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003266/0.2559, allocations: 2.884 MB / 0.9955 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.2569, allocations: 0.7338 MB / 0.9963 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/0.2575, allocations: 422.9 kB / 0.9967 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.2575, allocations: 8.641 kB / 0.9967 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000584/0.2581, allocations: 376.3 kB / 0.997 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 3.677e-06/0.2581, allocations: 0 / 0.997 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.001419/0.2595, allocations: 0.8796 MB / 0.9979 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.2596, allocations: 166.9 kB / 0.998 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005704/0.2602, allocations: 0.6215 MB / 0.9986 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.2602, allocations: 41.7 kB / 0.9987 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.2604, allocations: 460.2 kB / 0.9991 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.2606, allocations: 252.2 kB / 0.9994 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.2606, allocations: 16 kB / 0.9994 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.995e-05/0.2606, allocations: 334 kB / 0.9997 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/0.2611, allocations: 257.9 kB / 0.9999 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.2616, allocations: 386 kB / 1 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008661/0.2625, allocations: 0.5847 MB / 1.001 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2625, allocations: 4 kB / 1.001 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001078/0.2636, allocations: 0.7582 MB / 1.002 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/0.2636, allocations: 128.4 kB / 1.002 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2636, allocations: 4 kB / 1.002 GB, free: 4.781 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2637, allocations: 4 kB / 1.002 GB, free: 4.777 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/0.2642, allocations: 171.7 kB / 1.002 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.2642, allocations: 4 kB / 1.002 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.2646, allocations: 115.2 kB / 1.002 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.2646, allocations: 23.98 kB / 1.002 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/0.2647, allocations: 5.719 kB / 1.002 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006439/0.2653, allocations: 0.5506 MB / 1.003 GB, free: 3.914 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-06/0.2653, allocations: 0 / 1.003 GB, free: 3.914 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.2653, allocations: 7.938 kB / 1.003 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.2658, allocations: 135.8 kB / 1.003 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2658, allocations: 4 kB / 1.003 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.266, allocations: 91.34 kB / 1.003 GB, free: 3.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.2661, allocations: 24.06 kB / 1.003 GB, free: 3.656 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.0002892/0.2664, allocations: 308.9 kB / 1.003 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.2665, allocations: 78.97 kB / 1.003 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.2666, allocations: 96.2 kB / 1.003 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2666, allocations: 8 kB / 1.003 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.2666, allocations: 0 / 1.003 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2666, allocations: 3.984 kB / 1.003 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.2685, allocations: 1.652 MB / 1.005 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2685, allocations: 3.984 kB / 1.005 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/0.269, allocations: 139.8 kB / 1.005 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.2691, allocations: 4 kB / 1.005 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.2691, allocations: 19.98 kB / 1.005 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2691, allocations: 4 kB / 1.005 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2691, allocations: 0 / 1.005 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.2706, allocations: 1.1 MB / 1.006 GB, free: 168 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.2707, allocations: 172 kB / 1.006 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.308e-05/0.2708, allocations: 16 kB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.2711, allocations: 47.97 kB / 1.006 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/0.2712, allocations: 44.59 kB / 1.006 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.2713, allocations: 23.98 kB / 1.006 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004814/0.2718, allocations: 435.1 kB / 1.007 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2718, allocations: 0 / 1.007 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006471/0.2724, allocations: 330.3 kB / 1.007 GB, free: 15.1 MB / 0.6355 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.0001603/0.2726, allocations: 127.2 kB / 1.007 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001523/0.2741, allocations: 0.9347 MB / 1.008 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2741, allocations: 0 / 1.008 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005605/0.2747, allocations: 324.1 kB / 1.009 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000794/0.2755, allocations: 163.7 kB / 1.009 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.2781, allocations: 1.988 MB / 1.011 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.2786, allocations: 1.006 MB / 1.012 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003678/0.279, allocations: 93.98 kB / 1.012 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.2791, allocations: 59.42 kB / 1.012 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of SimCode: time 4.4e-07/0.2791, allocations: 0 / 1.012 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.01348/0.2926, allocations: 7.265 MB / 1.019 GB, free: 3.172 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)