Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.PIDWithResetScale,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",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.423/1.423, allocations: 287.4 MB / 302.6 MB, free: 8.227 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.0008461/0.0008462, allocations: 185 kB / 371.1 MB, free: 10.83 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.124/1.124, allocations: 205.4 MB / 0.6298 GB, free: 10.61 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.0007154/0.0007154, allocations: 96.59 kB / 0.7431 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.000335, allocations: 14.2 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1539, allocations: 115.3 MB / 0.9788 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.00145/0.1554, allocations: 1.652 MB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1568, allocations: 1.624 MB / 0.982 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.157, allocations: 8 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.1572, allocations: 59.38 kB / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.1574, allocations: 75.48 kB / 0.9821 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.1579, allocations: 314.3 kB / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.1583, allocations: 0.6606 MB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003059/0.1586, allocations: 301.3 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1588, allocations: 195.1 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.1589, allocations: 214.8 kB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.159, allocations: 24 kB / 0.9837 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.1591, allocations: 39.92 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.1591, allocations: 87.53 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.985e-05/0.1592, allocations: 117.4 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.1595, allocations: 0.6586 MB / 0.9846 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1596, allocations: 0 / 0.9846 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1596, allocations: 0 / 0.9846 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1596, allocations: 0 / 0.9846 GB, free: 22.08 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001008/0.1606, allocations: 0.8815 MB / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1606, allocations: 12.03 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.296e-05/0.1607, allocations: 94.7 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.221e-05/0.1608, allocations: 72.09 kB / 0.9856 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.1612, allocations: 438.9 kB / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.1612, allocations: 53.3 kB / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.737e-05/0.1613, allocations: 60.28 kB / 0.9862 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000609/0.1619, allocations: 0.4956 MB / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1619, allocations: 3.938 kB / 0.9867 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.162, allocations: 23.98 kB / 0.9867 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.162, allocations: 12 kB / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005371/0.1625, allocations: 363.8 kB / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.1641, allocations: 1.578 MB / 0.9886 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/0.1648, allocations: 0.8805 MB / 0.9894 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.165, allocations: 236.6 kB / 0.9897 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1651, allocations: 4 kB / 0.9897 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003434/0.1654, allocations: 261.5 kB / 0.9899 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 1.863e-06/0.1654, allocations: 0 / 0.9899 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47): time 0.0007994/0.1662, allocations: 0.5532 MB / 0.9905 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.1663, allocations: 111.2 kB / 0.9906 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.1666, allocations: 413.8 kB / 0.991 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.1666, allocations: 37.7 kB / 0.991 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1667, allocations: 273 kB / 0.9913 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/0.1668, allocations: 149.8 kB / 0.9914 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.1669, allocations: 12 kB / 0.9914 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.918e-05/0.1669, allocations: 358.8 kB / 0.9918 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.1672, allocations: 189 kB / 0.9919 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.1676, allocations: 291.4 kB / 0.9922 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/0.1681, allocations: 469.5 kB / 0.9927 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1681, allocations: 3.938 kB / 0.9927 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008123/0.169, allocations: 0.6316 MB / 0.9933 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.818e-05/0.169, allocations: 199.5 kB / 0.9935 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.169, allocations: 3.984 kB / 0.9935 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1691, allocations: 4 kB / 0.9935 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.1694, allocations: 95.77 kB / 0.9936 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1694, allocations: 8 kB / 0.9936 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.1698, allocations: 137.8 kB / 0.9937 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.1699, allocations: 27.98 kB / 0.9937 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-06/0.1699, allocations: 0 / 0.9937 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006131/0.1705, allocations: 0.5328 MB / 0.9943 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/0.1705, allocations: 8.031 kB / 0.9943 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-06/0.1705, allocations: 4 kB / 0.9943 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.1708, allocations: 67.91 kB / 0.9943 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1708, allocations: 8 kB / 0.9943 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.1712, allocations: 119.5 kB / 0.9945 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.1712, allocations: 23.98 kB / 0.9945 GB, free: 11.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0001538/0.1714, allocations: 265 kB / 0.9947 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.1715, allocations: 51.38 kB / 0.9948 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/0.1715, allocations: 57.17 kB / 0.9948 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1715, allocations: 4 kB / 0.9948 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1715, allocations: 0 / 0.9948 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1716, allocations: 4 kB / 0.9948 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.1726, allocations: 1.088 MB / 0.9959 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1726, allocations: 0 / 0.9959 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.1729, allocations: 79.89 kB / 0.996 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1729, allocations: 0 / 0.996 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.173, allocations: 12 kB / 0.996 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.173, allocations: 3.984 kB / 0.996 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.173, allocations: 4 kB / 0.996 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008202/0.1738, allocations: 0.7167 MB / 0.9967 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.1739, allocations: 128.5 kB / 0.9968 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.1739, allocations: 15.98 kB / 0.9968 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.1741, allocations: 23.98 kB / 0.9969 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1742, allocations: 28.39 kB / 0.9969 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.1742, allocations: 16 kB / 0.9969 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000214/0.1744, allocations: 295.1 kB / 0.9972 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1744, allocations: 0 / 0.9972 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004412/0.1748, allocations: 223.1 kB / 0.9974 GB, free: 8.363 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001022/0.1759, allocations: 1.279 MB / 0.9986 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.1769, allocations: 0.9389 MB / 0.9996 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1769, allocations: 4.125 kB / 0.9996 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.1772, allocations: 202.4 kB / 0.9998 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.1777, allocations: 97.42 kB / 0.9999 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/0.1811, allocations: 3.087 MB / 1.003 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.1813, allocations: 0.8554 MB / 1.004 GB, free: 1.738 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001731/0.1815, allocations: 59.66 kB / 1.004 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.1817, allocations: 199.4 kB / 1.004 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1817, allocations: 0 / 1.004 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6395/0.8211, allocations: 10.98 MB / 1.015 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.8214, allocations: 207 kB / 1.015 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.984/3.805, allocations: 4 kB / 1.015 GB, free: 6.492 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)