Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.851/1.851, allocations: 288.4 MB / 303.4 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.00108/0.00108, allocations: 181.7 kB / 372 MB, free: 10.21 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.509/1.509, allocations: 205.4 MB / 0.6307 GB, free: 9.945 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.0007745/0.0007746, allocations: 78.42 kB / 0.7441 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003684, allocations: 13.94 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2016, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.003365/0.205, allocations: 3.684 MB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002644/0.2076, allocations: 1.54 MB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007619/0.2084, allocations: 35.81 kB / 0.9847 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.2088, allocations: 114.8 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007585/0.2096, allocations: 174.8 kB / 0.985 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.2109, allocations: 0.5144 MB / 0.9855 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001119/0.212, allocations: 1.05 MB / 0.9865 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006228/0.2126, allocations: 347.4 kB / 0.9868 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004963/0.2131, allocations: 353.9 kB / 0.9872 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004139/0.2136, allocations: 329.8 kB / 0.9875 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.2137, allocations: 28 kB / 0.9875 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.2138, allocations: 24 kB / 0.9875 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.944e-05/0.2139, allocations: 139.2 kB / 0.9877 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.2141, allocations: 177.1 kB / 0.9878 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.2147, allocations: 0.8068 MB / 0.9886 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2147, allocations: 0 / 0.9886 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2147, allocations: 4 kB / 0.9886 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.575e-05/0.2147, allocations: 0 / 0.9886 GB, free: 18.33 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002138/0.2169, allocations: 1.251 MB / 0.9899 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2169, allocations: 16.02 kB / 0.9899 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.2171, allocations: 122.4 kB / 0.99 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009659/0.2181, allocations: 0.7112 MB / 0.9907 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/0.2181, allocations: 87.7 kB / 0.9908 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.227e-05/0.2182, allocations: 68 kB / 0.9908 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.2193, allocations: 0.7328 MB / 0.9915 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.2193, allocations: 0 / 0.9915 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.672e-05/0.2194, allocations: 32 kB / 0.9916 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.2194, allocations: 16 kB / 0.9916 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000949/0.2204, allocations: 0.5282 MB / 0.9921 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/0.2231, allocations: 2.29 MB / 0.9943 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.2243, allocations: 0.6399 MB / 0.995 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004303/0.2248, allocations: 270.4 kB / 0.9952 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.2248, allocations: 16.56 kB / 0.9952 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006066/0.2254, allocations: 330.9 kB / 0.9956 GB, free: 11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 2.735e-06/0.2255, allocations: 0 / 0.9956 GB, free: 11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001434/0.2269, allocations: 0.7676 MB / 0.9963 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.227, allocations: 85.67 kB / 0.9964 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006768/0.2276, allocations: 0.7519 MB / 0.9971 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.2277, allocations: 37.7 kB / 0.9972 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.2279, allocations: 444.5 kB / 0.9976 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.2281, allocations: 201 kB / 0.9978 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.2281, allocations: 16 kB / 0.9978 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.221e-05/0.2282, allocations: 334.1 kB / 0.9981 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.2286, allocations: 205.2 kB / 0.9983 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.229, allocations: 312.4 kB / 0.9986 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.2295, allocations: 226.2 kB / 0.9988 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2295, allocations: 7.984 kB / 0.9988 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001038/0.2305, allocations: 0.6656 MB / 0.9995 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.902e-05/0.2306, allocations: 151.2 kB / 0.9996 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.2306, allocations: 0 / 0.9996 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.2306, allocations: 8 kB / 0.9996 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.2313, allocations: 151.8 kB / 0.9998 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.2313, allocations: 7.953 kB / 0.9998 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.2317, allocations: 79.34 kB / 0.9999 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.2318, allocations: 20 kB / 0.9999 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.45e-06/0.2318, allocations: 4 kB / 0.9999 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008774/0.2327, allocations: 0.5206 MB / 1 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.185e-06/0.2327, allocations: 0 / 1 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-06/0.2327, allocations: 8 kB / 1 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/0.2333, allocations: 152 kB / 1.001 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.2333, allocations: 7.984 kB / 1.001 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.2337, allocations: 63.42 kB / 1.001 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.2337, allocations: 20 kB / 1.001 GB, free: 5.668 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0003027/0.234, allocations: 307 kB / 1.001 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.2341, allocations: 90.88 kB / 1.001 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.2343, allocations: 105.3 kB / 1.001 GB, free: 5.168 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.2343, allocations: 8 kB / 1.001 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.2343, allocations: 3.938 kB / 1.001 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2343, allocations: 7.922 kB / 1.001 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.2361, allocations: 1.447 MB / 1.003 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2361, allocations: 0 / 1.003 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005304/0.2366, allocations: 115.8 kB / 1.003 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2366, allocations: 4 kB / 1.003 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.2367, allocations: 19.98 kB / 1.003 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2367, allocations: 4 kB / 1.003 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2367, allocations: 0 / 1.003 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.2381, allocations: 0.9747 MB / 1.004 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.2383, allocations: 227.7 kB / 1.004 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-05/0.2384, allocations: 12 kB / 1.004 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.2388, allocations: 39.97 kB / 1.004 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.2389, allocations: 36.5 kB / 1.004 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.2389, allocations: 20.09 kB / 1.004 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004768/0.2394, allocations: 0.5109 MB / 1.004 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.12e-07/0.2394, allocations: 0 / 1.004 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006085/0.24, allocations: 279 kB / 1.005 GB, free: 1.367 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001345/0.2402, allocations: 115.2 kB / 1.005 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.2415, allocations: 0.8041 MB / 1.006 GB, free: 452 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2415, allocations: 0 / 1.006 GB, free: 452 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004188/0.242, allocations: 275.1 kB / 1.006 GB, free: 180 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.2431, allocations: 244.1 kB / 1.006 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.2457, allocations: 1.839 MB / 1.008 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.2462, allocations: 0.994 MB / 1.009 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005134/0.2467, allocations: 118.8 kB / 1.009 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.2469, allocations: 59.42 kB / 1.009 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of SimCode: time 4.1e-07/0.2469, allocations: 0 / 1.009 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of Templates: time 0.01598/0.2629, allocations: 8.401 MB / 1.017 GB, free: 4.562 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)