Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.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: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.434/1.434, allocations: 287.4 MB / 302.6 MB, free: 8.293 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.0009241/0.0009241, allocations: 173.5 kB / 371.1 MB, free: 10.85 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.149/1.149, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0006498/0.0006498, allocations: 89.8 kB / 0.7431 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 14.55 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1506, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.002843/0.1535, allocations: 3.68 MB / 0.9823 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1552, allocations: 1.556 MB / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.1555, allocations: 35.81 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.1558, allocations: 114.8 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003994/0.1562, allocations: 170.8 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000824/0.157, allocations: 0.5238 MB / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006735/0.1577, allocations: 1.066 MB / 0.9857 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004792/0.1582, allocations: 496.4 kB / 0.9862 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.1585, allocations: 338 kB / 0.9865 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.1587, allocations: 329.8 kB / 0.9868 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.419e-05/0.1588, allocations: 24 kB / 0.9868 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.463e-05/0.1589, allocations: 28 kB / 0.9869 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.441e-05/0.159, allocations: 147.1 kB / 0.987 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.182e-05/0.1591, allocations: 177.1 kB / 0.9872 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.1595, allocations: 0.7988 MB / 0.9879 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1595, allocations: 0 / 0.9879 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1595, allocations: 4 kB / 0.9879 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.1595, allocations: 0 / 0.9879 GB, free: 18.62 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.001551/0.1611, allocations: 1.247 MB / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.1611, allocations: 8.031 kB / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.738e-05/0.1612, allocations: 110.7 kB / 0.9893 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.1613, allocations: 131.4 kB / 0.9894 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008146/0.1621, allocations: 0.7275 MB / 0.9901 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/0.1622, allocations: 84.27 kB / 0.9902 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.122e-05/0.1623, allocations: 72.38 kB / 0.9903 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009276/0.1632, allocations: 0.7366 MB / 0.991 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1632, allocations: 4 kB / 0.991 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.674e-05/0.1633, allocations: 28 kB / 0.991 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1633, allocations: 16 kB / 0.991 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008754/0.1642, allocations: 0.5243 MB / 0.9915 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.1665, allocations: 2.298 MB / 0.9938 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.1677, allocations: 0.6404 MB / 0.9944 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/0.1681, allocations: 282.4 kB / 0.9947 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.1681, allocations: 4.562 kB / 0.9947 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005286/0.1687, allocations: 327.1 kB / 0.995 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 1.723e-06/0.1687, allocations: 0 / 0.995 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001288/0.17, allocations: 0.7634 MB / 0.9957 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.17, allocations: 97.53 kB / 0.9958 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006258/0.1706, allocations: 0.7558 MB / 0.9966 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.1707, allocations: 41.64 kB / 0.9966 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.1709, allocations: 444.4 kB / 0.997 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.39e-05/0.171, allocations: 201 kB / 0.9972 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.171, allocations: 16 kB / 0.9972 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.272e-05/0.1711, allocations: 326 kB / 0.9976 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000373/0.1715, allocations: 209.2 kB / 0.9978 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.1719, allocations: 304.4 kB / 0.998 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007654/0.1726, allocations: 0.5192 MB / 0.9985 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1727, allocations: 0 / 0.9985 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009409/0.1736, allocations: 0.6578 MB / 0.9992 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/0.1737, allocations: 155.2 kB / 0.9993 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.1737, allocations: 4 kB / 0.9993 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1737, allocations: 8 kB / 0.9994 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/0.1743, allocations: 151.8 kB / 0.9995 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.1743, allocations: 4 kB / 0.9995 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.1746, allocations: 75.34 kB / 0.9996 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.1747, allocations: 24 kB / 0.9996 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.1747, allocations: 5.562 kB / 0.9996 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007965/0.1755, allocations: 0.5169 MB / 1 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1755, allocations: 16.02 kB / 1 GB, free: 5.742 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/0.1755, allocations: 4 kB / 1 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.176, allocations: 143.8 kB / 1 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1761, allocations: 4 kB / 1 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.1764, allocations: 67.36 kB / 1 GB, free: 5.527 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.1764, allocations: 20 kB / 1 GB, free: 5.508 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.00022/0.1766, allocations: 304.9 kB / 1.001 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.666e-05/0.1767, allocations: 94.81 kB / 1.001 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.1769, allocations: 105.3 kB / 1.001 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1769, allocations: 8 kB / 1.001 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1769, allocations: 0 / 1.001 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1769, allocations: 7.922 kB / 1.001 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.1785, allocations: 1.454 MB / 1.002 GB, free: 3.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1785, allocations: 4 kB / 1.002 GB, free: 3.473 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/0.179, allocations: 107.8 kB / 1.002 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.179, allocations: 3.938 kB / 1.002 GB, free: 3.363 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.1791, allocations: 15.98 kB / 1.002 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1791, allocations: 4 kB / 1.002 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1791, allocations: 0 / 1.002 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.1804, allocations: 0.9706 MB / 1.003 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.1805, allocations: 231.6 kB / 1.004 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.682e-05/0.1806, allocations: 12 kB / 1.004 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.181, allocations: 43.97 kB / 1.004 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.128e-05/0.1811, allocations: 36.5 kB / 1.004 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.1811, allocations: 19.94 kB / 1.004 GB, free: 2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004265/0.1816, allocations: 0.5187 MB / 1.004 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1816, allocations: 0 / 1.004 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005204/0.1821, allocations: 275 kB / 1.004 GB, free: 1.199 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.001541/0.1836, allocations: 1.539 MB / 1.006 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.1851, allocations: 0.8041 MB / 1.007 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1851, allocations: 0 / 1.007 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004657/0.1856, allocations: 271.1 kB / 1.007 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.1866, allocations: 235.9 kB / 1.007 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007229/0.1938, allocations: 5.135 MB / 1.012 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.1944, allocations: 0.994 MB / 1.013 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005009/0.1949, allocations: 114.9 kB / 1.013 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.1953, allocations: 355.3 kB / 1.014 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of SimCode: time 4.31e-07/0.1953, allocations: 0 / 1.014 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1744/0.3697, allocations: 16.58 MB / 1.03 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.3699, allocations: 182.5 kB / 1.03 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/2.604, allocations: 4 kB / 1.03 GB, free: 6.906 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)