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: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.473/1.473, allocations: 288.4 MB / 303.6 MB, free: 8.117 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.0009153/0.0009155, allocations: 176.5 kB / 372.3 MB, free: 10.13 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.281/1.281, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0007014/0.0007014, allocations: 93.11 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003558, allocations: 11.16 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1695, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.002958/0.1725, allocations: 3.68 MB / 0.9838 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.1743, allocations: 1.548 MB / 0.9853 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002943/0.1746, allocations: 35.81 kB / 0.9853 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.1749, allocations: 114.8 kB / 0.9854 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004061/0.1753, allocations: 178.8 kB / 0.9856 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008298/0.1761, allocations: 0.5115 MB / 0.9861 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006653/0.1768, allocations: 1.089 MB / 0.9872 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004747/0.1773, allocations: 480.4 kB / 0.9876 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.1776, allocations: 338 kB / 0.9879 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.1778, allocations: 337.8 kB / 0.9883 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.844e-05/0.1779, allocations: 24 kB / 0.9883 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.27e-05/0.1779, allocations: 28 kB / 0.9883 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.478e-05/0.178, allocations: 135.2 kB / 0.9884 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.1782, allocations: 387.1 kB / 0.9888 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.1787, allocations: 0.8065 MB / 0.9896 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1787, allocations: 0 / 0.9896 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1787, allocations: 0 / 0.9896 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.1787, allocations: 4 kB / 0.9896 GB, free: 17.55 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.001582/0.1803, allocations: 1.251 MB / 0.9908 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1803, allocations: 8.031 kB / 0.9908 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.628e-05/0.1804, allocations: 114.6 kB / 0.9909 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.1805, allocations: 123.4 kB / 0.9911 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000851/0.1814, allocations: 0.7314 MB / 0.9918 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.256e-05/0.1815, allocations: 88.27 kB / 0.9919 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.644e-05/0.1816, allocations: 68.38 kB / 0.9919 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009693/0.1825, allocations: 0.7405 MB / 0.9926 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.1826, allocations: 0 / 0.9926 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.1826, allocations: 31.98 kB / 0.9927 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.1826, allocations: 16 kB / 0.9927 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008918/0.1835, allocations: 0.5204 MB / 0.9932 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.186, allocations: 2.306 MB / 0.9955 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.1872, allocations: 0.6319 MB / 0.9961 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004279/0.1876, allocations: 271.8 kB / 0.9963 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.1877, allocations: 20.48 kB / 0.9963 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006266/0.1883, allocations: 323.1 kB / 0.9967 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 2.374e-06/0.1883, allocations: 0 / 0.9967 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001417/0.1897, allocations: 0.7712 MB / 0.9974 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1898, allocations: 89.61 kB / 0.9975 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006556/0.1904, allocations: 0.7519 MB / 0.9982 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.1905, allocations: 37.7 kB / 0.9983 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.1907, allocations: 444.4 kB / 0.9987 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.1909, allocations: 201 kB / 0.9989 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.1909, allocations: 16 kB / 0.9989 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.191, allocations: 330 kB / 0.9992 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.1914, allocations: 201.2 kB / 0.9994 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.1918, allocations: 312.4 kB / 0.9997 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008062/0.1926, allocations: 0.5075 MB / 1 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1926, allocations: 0 / 1 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00106/0.1937, allocations: 0.6696 MB / 1.001 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.899e-05/0.1938, allocations: 159 kB / 1.001 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1938, allocations: 0 / 1.001 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1938, allocations: 8 kB / 1.001 GB, free: 5.453 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.1944, allocations: 147.8 kB / 1.001 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.1944, allocations: 4 kB / 1.001 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.1948, allocations: 79.34 kB / 1.001 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.1948, allocations: 20 kB / 1.001 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.581e-06/0.1948, allocations: 4 kB / 1.001 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008151/0.1956, allocations: 0.5323 MB / 1.002 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.1957, allocations: 0 / 1.002 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-06/0.1957, allocations: 4 kB / 1.002 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.1962, allocations: 143.8 kB / 1.002 GB, free: 4.527 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1962, allocations: 12.23 kB / 1.002 GB, free: 4.516 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.1965, allocations: 67.36 kB / 1.002 GB, free: 4.449 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.1966, allocations: 20 kB / 1.002 GB, free: 4.43 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.0002307/0.1968, allocations: 308.9 kB / 1.002 GB, free: 4.117 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-05/0.1969, allocations: 90.88 kB / 1.002 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.197, allocations: 101.3 kB / 1.002 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1971, allocations: 11.94 kB / 1.002 GB, free: 3.918 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1971, allocations: 4 kB / 1.002 GB, free: 3.914 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.1971, allocations: 7.922 kB / 1.003 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.1987, allocations: 1.45 MB / 1.004 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1988, allocations: 0 / 1.004 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.1993, allocations: 107.8 kB / 1.004 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1993, allocations: 11.94 kB / 1.004 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.1993, allocations: 15.98 kB / 1.004 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1993, allocations: 0 / 1.004 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1993, allocations: 4 kB / 1.004 GB, free: 2.262 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.2006, allocations: 0.9666 MB / 1.005 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.2008, allocations: 227.6 kB / 1.005 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.165e-05/0.2009, allocations: 20 kB / 1.005 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.2013, allocations: 31.97 kB / 1.005 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.2014, allocations: 40.52 kB / 1.005 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.2014, allocations: 19.98 kB / 1.005 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004291/0.2019, allocations: 0.507 MB / 1.006 GB, free: 416 kB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2019, allocations: 8 kB / 1.006 GB, free: 408 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005318/0.2024, allocations: 267.1 kB / 1.006 GB, free: 140 kB / 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.001798/0.2042, allocations: 1.549 MB / 1.008 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.2057, allocations: 0.8035 MB / 1.008 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2057, allocations: 0 / 1.008 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.2062, allocations: 279.7 kB / 1.009 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.2072, allocations: 235.3 kB / 1.009 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006943/0.2142, allocations: 5.126 MB / 1.014 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.2147, allocations: 1.002 MB / 1.015 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004292/0.2151, allocations: 114.7 kB / 1.015 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.2155, allocations: 359.3 kB / 1.015 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of SimCode: time 3.81e-07/0.2155, allocations: 0 / 1.015 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.2433, allocations: 16.68 MB / 1.032 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.2435, allocations: 196.6 kB / 1.032 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/2.451, allocations: 4.062 kB / 1.032 GB, free: 5.691 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)