Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.759/1.759, allocations: 287.5 MB / 302.6 MB, free: 8.141 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.001241/0.001241, allocations: 174.7 kB / 371.2 MB, free: 10.84 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.451/1.451, allocations: 205.4 MB / 0.6298 GB, free: 10.6 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.0007973/0.0007973, allocations: 94.28 kB / 0.7432 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003917, allocations: 15.36 kB / 0.8661 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2255, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.003725/0.2293, allocations: 3.642 MB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002342/0.2317, allocations: 1.038 MB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006109/0.2323, allocations: 23.88 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.2327, allocations: 130.7 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003854/0.2331, allocations: 103.2 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.2335, allocations: 235.7 kB / 0.9837 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007642/0.2343, allocations: 1.03 MB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007009/0.235, allocations: 0.6277 MB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.2352, allocations: 250.4 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.2355, allocations: 321.8 kB / 0.9859 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.49e-05/0.2355, allocations: 24 kB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.707e-05/0.2356, allocations: 28 kB / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.2357, allocations: 139.2 kB / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.698e-05/0.2358, allocations: 177.1 kB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006236/0.2364, allocations: 1.099 MB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2365, allocations: 0 / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2365, allocations: 0 / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.2365, allocations: 0 / 0.9873 GB, free: 19.29 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.001783/0.2383, allocations: 1.235 MB / 0.9885 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.2383, allocations: 12.03 kB / 0.9885 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.2385, allocations: 127.3 kB / 0.9887 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000684/0.2392, allocations: 0.6102 MB / 0.9893 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.2392, allocations: 74.31 kB / 0.9893 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.954e-05/0.2393, allocations: 112.3 kB / 0.9894 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.2406, allocations: 0.914 MB / 0.9903 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.2407, allocations: 192 / 0.9903 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.2408, allocations: 43.88 kB / 0.9904 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.2408, allocations: 24 kB / 0.9904 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.2419, allocations: 0.6754 MB / 0.9911 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003346/0.2453, allocations: 2.892 MB / 0.9939 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.2464, allocations: 0.7377 MB / 0.9946 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005499/0.2469, allocations: 422.8 kB / 0.995 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.247, allocations: 8.656 kB / 0.995 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006064/0.2476, allocations: 372.3 kB / 0.9954 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 2.805e-06/0.2476, allocations: 4 kB / 0.9954 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.001424/0.249, allocations: 0.8719 MB / 0.9962 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.2491, allocations: 162.9 kB / 0.9964 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/0.2497, allocations: 0.6215 MB / 0.997 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.2498, allocations: 49.62 kB / 0.997 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.25, allocations: 460.2 kB / 0.9975 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.2501, allocations: 256.2 kB / 0.9977 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.2502, allocations: 12 kB / 0.9977 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.512e-05/0.2502, allocations: 337.9 kB / 0.9981 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.2507, allocations: 253.9 kB / 0.9983 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/0.2512, allocations: 386 kB / 0.9987 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008555/0.252, allocations: 0.5808 MB / 0.9992 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.252, allocations: 4 kB / 0.9992 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001083/0.2531, allocations: 0.7659 MB / 1 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.2532, allocations: 127 kB / 1 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2532, allocations: 0 / 1 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2532, allocations: 4 kB / 1 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.2538, allocations: 167.8 kB / 1 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.2539, allocations: 7.938 kB / 1 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.2542, allocations: 119.2 kB / 1 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.2543, allocations: 20 kB / 1 GB, free: 5.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-06/0.2543, allocations: 4 kB / 1 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006598/0.2549, allocations: 0.5389 MB / 1.001 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.255, allocations: 0 / 1.001 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-06/0.255, allocations: 7.938 kB / 1.001 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/0.2554, allocations: 143.8 kB / 1.001 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.2554, allocations: 4.125 kB / 1.001 GB, free: 4.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.2557, allocations: 87.3 kB / 1.001 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.2557, allocations: 20 kB / 1.001 GB, free: 4.715 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.0003213/0.2561, allocations: 309 kB / 1.001 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/0.2561, allocations: 82.97 kB / 1.002 GB, free: 4.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.2563, allocations: 100.2 kB / 1.002 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.2563, allocations: 4 kB / 1.002 GB, free: 4.215 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.2563, allocations: 0 / 1.002 GB, free: 4.215 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2563, allocations: 11.92 kB / 1.002 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.2583, allocations: 1.659 MB / 1.003 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2583, allocations: 8 kB / 1.003 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.2588, allocations: 139.8 kB / 1.003 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2588, allocations: 0 / 1.003 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.2589, allocations: 16 kB / 1.003 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2589, allocations: 0 / 1.003 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2589, allocations: 4 kB / 1.003 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.2604, allocations: 1.104 MB / 1.005 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.982e-05/0.2605, allocations: 159.9 kB / 1.005 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.045e-05/0.2606, allocations: 16 kB / 1.005 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.2609, allocations: 59.95 kB / 1.005 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.261, allocations: 36.61 kB / 1.005 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.261, allocations: 23.98 kB / 1.005 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004182/0.2614, allocations: 435 kB / 1.005 GB, free: 484 kB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2615, allocations: 0 / 1.005 GB, free: 484 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006804/0.2621, allocations: 338.3 kB / 1.006 GB, free: 144 kB / 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.0001488/0.2623, allocations: 127.2 kB / 1.006 GB, free: 8 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001692/0.264, allocations: 0.927 MB / 1.007 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.264, allocations: 0 / 1.007 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005413/0.2646, allocations: 336 kB / 1.007 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000804/0.2654, allocations: 155 kB / 1.007 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.2682, allocations: 1.976 MB / 1.009 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005909/0.2688, allocations: 1.013 MB / 1.01 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003925/0.2692, allocations: 97.97 kB / 1.01 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.2693, allocations: 59.42 kB / 1.01 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.2693, allocations: 0 / 1.01 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.01392/0.2833, allocations: 7.163 MB / 1.017 GB, free: 4.305 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)