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 2.545/2.545, allocations: 287.5 MB / 302.4 MB, free: 8.23 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.001382/0.001382, allocations: 185.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001302/0.001302, allocations: 92.7 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000502/0.0005021, allocations: 19.56 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2049, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.005077/0.21, allocations: 3.654 MB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002945/0.213, allocations: 1.034 MB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008355/0.2139, allocations: 19.94 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00048/0.2144, allocations: 134.7 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006463/0.2151, allocations: 95.23 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000872/0.216, allocations: 235.7 kB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.2173, allocations: 1.003 MB / 0.9844 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008949/0.2182, allocations: 481 kB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000337/0.2186, allocations: 250.4 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.2189, allocations: 309.8 kB / 0.9854 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.987e-05/0.219, allocations: 28 kB / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.492e-05/0.2192, allocations: 24 kB / 0.9854 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.2193, allocations: 147.2 kB / 0.9856 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.2194, allocations: 181.1 kB / 0.9857 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.2206, allocations: 1.087 MB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.2206, allocations: 4 kB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2206, allocations: 4 kB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.2206, allocations: 0 / 0.9868 GB, free: 19.64 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.002927/0.2236, allocations: 1.245 MB / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.2236, allocations: 16.02 kB / 0.988 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.2239, allocations: 126.4 kB / 0.9882 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.225, allocations: 0.6054 MB / 0.9888 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.849e-05/0.2251, allocations: 85.98 kB / 0.9888 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.2253, allocations: 96 kB / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.2274, allocations: 0.9095 MB / 0.9898 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.2275, allocations: 0 / 0.9898 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.2276, allocations: 44 kB / 0.9899 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.2276, allocations: 20 kB / 0.9899 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.2297, allocations: 0.6793 MB / 0.9905 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005759/0.2355, allocations: 2.884 MB / 0.9934 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.2373, allocations: 0.7339 MB / 0.9941 GB, free: 12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009762/0.2384, allocations: 418.9 kB / 0.9945 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.968e-05/0.2384, allocations: 8.656 kB / 0.9945 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009915/0.2394, allocations: 372.4 kB / 0.9948 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 3.367e-06/0.2395, allocations: 0 / 0.9948 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.002556/0.242, allocations: 0.8795 MB / 0.9957 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.2421, allocations: 170.9 kB / 0.9959 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009308/0.2431, allocations: 0.6177 MB / 0.9965 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.859e-05/0.2432, allocations: 41.7 kB / 0.9965 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.2435, allocations: 460.1 kB / 0.9969 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.2437, allocations: 256.3 kB / 0.9972 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.2438, allocations: 16 kB / 0.9972 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2439, allocations: 330 kB / 0.9975 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008106/0.2447, allocations: 253.9 kB / 0.9978 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008873/0.2456, allocations: 394 kB / 0.9981 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008533/0.2465, allocations: 298.9 kB / 0.9984 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.2465, allocations: 0 / 0.9984 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002019/0.2486, allocations: 0.7622 MB / 0.9992 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.049e-05/0.2487, allocations: 126.4 kB / 0.9993 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.2487, allocations: 4 kB / 0.9993 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.2487, allocations: 4 kB / 0.9993 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.2499, allocations: 167.7 kB / 0.9995 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.2499, allocations: 4 kB / 0.9995 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000705/0.2506, allocations: 115.2 kB / 0.9996 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.2507, allocations: 24 kB / 0.9996 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/0.2507, allocations: 4 kB / 0.9996 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001189/0.2519, allocations: 0.5427 MB / 1 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2519, allocations: 0 / 1 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.2519, allocations: 4 kB / 1 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000928/0.2529, allocations: 143.8 kB / 1 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.2529, allocations: 7.938 kB / 1 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005496/0.2535, allocations: 91.41 kB / 1 GB, free: 5.414 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.2535, allocations: 20 kB / 1 GB, free: 5.395 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.0004926/0.254, allocations: 305 kB / 1.001 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.2542, allocations: 82.97 kB / 1.001 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.2544, allocations: 92.19 kB / 1.001 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.2544, allocations: 8 kB / 1.001 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.639e-06/0.2544, allocations: 0 / 1.001 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.2544, allocations: 3.984 kB / 1.001 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/0.2577, allocations: 1.656 MB / 1.002 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.2578, allocations: 0 / 1.002 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.2589, allocations: 151.8 kB / 1.003 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.259, allocations: 0 / 1.003 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-05/0.259, allocations: 16 kB / 1.003 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.259, allocations: 4 kB / 1.003 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2591, allocations: 0 / 1.003 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/0.2618, allocations: 1.108 MB / 1.004 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.262, allocations: 156 kB / 1.004 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.2621, allocations: 16 kB / 1.004 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005896/0.2627, allocations: 51.95 kB / 1.004 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/0.2629, allocations: 48.59 kB / 1.004 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/0.2629, allocations: 20 kB / 1.004 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006744/0.2636, allocations: 435 kB / 1.004 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2636, allocations: 0 / 1.004 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009652/0.2646, allocations: 342.2 kB / 1.005 GB, free: 0.8281 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.000179/0.2648, allocations: 123.1 kB / 1.005 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002542/0.2673, allocations: 0.9386 MB / 1.006 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.2674, allocations: 0 / 1.006 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.2684, allocations: 328.1 kB / 1.006 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.2698, allocations: 163 kB / 1.006 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/0.2743, allocations: 1.976 MB / 1.008 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008435/0.2752, allocations: 1.006 MB / 1.009 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007856/0.276, allocations: 102 kB / 1.009 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.2763, allocations: 55.44 kB / 1.009 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/0.2763, allocations: 0 / 1.009 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of Templates: time 0.02478/0.3011, allocations: 7.171 MB / 1.016 GB, free: 4.98 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)