Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",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.417/1.417, allocations: 287.4 MB / 302.6 MB, free: 8.219 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.0008391/0.0008391, allocations: 182.9 kB / 371.1 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.119/1.119, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007218/0.0007218, allocations: 97.5 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003174, allocations: 22.38 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1423, allocations: 115.3 MB / 0.9788 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.002101/0.1444, allocations: 2.603 MB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1459, allocations: 1.646 MB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.1461, allocations: 15.94 kB / 0.9829 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.1463, allocations: 106.9 kB / 0.983 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.1466, allocations: 87.31 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.1469, allocations: 223.7 kB / 0.9833 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004982/0.1474, allocations: 0.9399 MB / 0.9842 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005222/0.1479, allocations: 0.5802 MB / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.148, allocations: 242.5 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.1482, allocations: 298 kB / 0.9853 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.238e-05/0.1483, allocations: 24 kB / 0.9853 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.662e-05/0.1483, allocations: 31.94 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.1484, allocations: 127.3 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.806e-05/0.1485, allocations: 165.2 kB / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.1489, allocations: 0.9819 MB / 0.9866 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1489, allocations: 0 / 0.9866 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1489, allocations: 0 / 0.9866 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.149, allocations: 0 / 0.9866 GB, free: 19.97 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001399/0.1504, allocations: 1.169 MB / 0.9878 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.1504, allocations: 12.03 kB / 0.9878 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.757e-05/0.1505, allocations: 143.6 kB / 0.9879 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.998e-05/0.1506, allocations: 115.5 kB / 0.988 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.1511, allocations: 0.5947 MB / 0.9886 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.1512, allocations: 66.38 kB / 0.9887 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.1513, allocations: 100.3 kB / 0.9888 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.1523, allocations: 0.8477 MB / 0.9896 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1523, allocations: 3.938 kB / 0.9896 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.1524, allocations: 39.98 kB / 0.9896 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.1524, allocations: 20 kB / 0.9896 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/0.1533, allocations: 0.6362 MB / 0.9903 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.156, allocations: 2.724 MB / 0.9929 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.157, allocations: 1.323 MB / 0.9942 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/0.1575, allocations: 394.6 kB / 0.9946 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.1575, allocations: 12.5 kB / 0.9946 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005/0.158, allocations: 347.1 kB / 0.9949 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 1.803e-06/0.1581, allocations: 0 / 0.9949 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.001183/0.1592, allocations: 0.8066 MB / 0.9957 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.1593, allocations: 166.8 kB / 0.9959 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.1597, allocations: 0.59 MB / 0.9965 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.1598, allocations: 37.7 kB / 0.9965 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1599, allocations: 424 kB / 0.9969 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-05/0.16, allocations: 232.6 kB / 0.9971 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.1601, allocations: 12 kB / 0.9971 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.1601, allocations: 390.7 kB / 0.9975 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.1605, allocations: 233.3 kB / 0.9977 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.1609, allocations: 353.3 kB / 0.9981 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000718/0.1616, allocations: 0.5195 MB / 0.9986 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1616, allocations: 0 / 0.9986 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008874/0.1625, allocations: 0.6759 MB / 0.9992 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.1626, allocations: 120.8 kB / 0.9993 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1626, allocations: 0 / 0.9993 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1626, allocations: 4 kB / 0.9994 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.1631, allocations: 155.7 kB / 0.9995 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1631, allocations: 4 kB / 0.9995 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.1634, allocations: 111.3 kB / 0.9996 GB, free: 6.145 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.1634, allocations: 19.98 kB / 0.9996 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-06/0.1634, allocations: 4 kB / 0.9996 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005254/0.164, allocations: 475.5 kB / 1 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.164, allocations: 0 / 1 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-06/0.164, allocations: 4 kB / 1 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.1643, allocations: 123.8 kB / 1 GB, free: 5.531 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1643, allocations: 4 kB / 1 GB, free: 5.527 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.1646, allocations: 83.5 kB / 1 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.1646, allocations: 20 kB / 1 GB, free: 5.426 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,limPIDInp.trigger,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0002048/0.1648, allocations: 300.9 kB / 1.001 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.1649, allocations: 79.06 kB / 1.001 GB, free: 5.043 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.872e-05/0.165, allocations: 82.95 kB / 1.001 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.165, allocations: 8 kB / 1.001 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.165, allocations: 0 / 1.001 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.165, allocations: 3.984 kB / 1.001 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.1667, allocations: 1.582 MB / 1.002 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1667, allocations: 0 / 1.002 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004631/0.1672, allocations: 131.8 kB / 1.002 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.1672, allocations: 11.92 kB / 1.002 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.1672, allocations: 19.98 kB / 1.002 GB, free: 3.145 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1672, allocations: 7.938 kB / 1.002 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1672, allocations: 0 / 1.002 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.1684, allocations: 1.014 MB / 1.003 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.1685, allocations: 164 kB / 1.004 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.1686, allocations: 15.94 kB / 1.004 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.1689, allocations: 55.95 kB / 1.004 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.1689, allocations: 40.52 kB / 1.004 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.169, allocations: 23.98 kB / 1.004 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003221/0.1693, allocations: 411.1 kB / 1.004 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1693, allocations: 4 kB / 1.004 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004664/0.1698, allocations: 302.4 kB / 1.004 GB, free: 1.094 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 (68): * Single equations (assignments): 68 * 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.001514/0.1713, allocations: 1.586 MB / 1.006 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.1725, allocations: 0.8203 MB / 1.007 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1725, allocations: 4 kB / 1.007 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004442/0.173, allocations: 307.2 kB / 1.007 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006385/0.1736, allocations: 137.1 kB / 1.007 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/0.1794, allocations: 4.543 MB / 1.012 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.1798, allocations: 0.982 MB / 1.013 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003044/0.1801, allocations: 85.2 kB / 1.013 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/0.1805, allocations: 343.3 kB / 1.013 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of SimCode: time 1.873e-06/0.1805, allocations: 0 / 1.013 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6942/0.8747, allocations: 13.37 MB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.875, allocations: 209.2 kB / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/3.34, allocations: 6.609 kB / 1.026 GB, free: 10.79 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)