Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6942/0.6942, allocations: 131 MB / 146.3 MB, free: 1.305 MB / 106.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008969/0.0008969, allocations: 175.8 kB / 176.4 MB, free: 4.883 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.7 MB / 431.9 MB, free: 9.707 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007298/0.0007298, allocations: 98.84 kB / 0.5003 GB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.000335, allocations: 8 kB / 0.5885 GB, free: 72.79 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1164, allocations: 79.59 MB / 0.6663 GB, free: 9.035 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003361/0.1198, allocations: 2.658 MB / 0.6688 GB, free: 6.359 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.1214, allocations: 0.9393 MB / 0.6698 GB, free: 5.414 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.1217, allocations: 15.94 kB / 0.6698 GB, free: 5.398 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.1219, allocations: 55.5 kB / 0.6698 GB, free: 5.344 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.1221, allocations: 75.42 kB / 0.6699 GB, free: 5.27 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.1227, allocations: 243.6 kB / 0.6701 GB, free: 5.031 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.1232, allocations: 0.5192 MB / 0.6706 GB, free: 4.512 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004064/0.1236, allocations: 231.4 kB / 0.6709 GB, free: 4.285 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.1238, allocations: 155 kB / 0.671 GB, free: 4.133 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1241, allocations: 147 kB / 0.6712 GB, free: 3.988 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.411e-05/0.1241, allocations: 16 kB / 0.6712 GB, free: 3.973 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.159e-05/0.1242, allocations: 12 kB / 0.6712 GB, free: 3.961 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.742e-05/0.1242, allocations: 71.55 kB / 0.6712 GB, free: 3.891 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.1244, allocations: 212.4 kB / 0.6715 GB, free: 3.676 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004499/0.1249, allocations: 0.5333 MB / 0.672 GB, free: 3.141 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1249, allocations: 0 / 0.672 GB, free: 3.141 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1249, allocations: 0 / 0.672 GB, free: 3.141 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1249, allocations: 4 kB / 0.672 GB, free: 3.137 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001055/0.126, allocations: 0.6883 MB / 0.6726 GB, free: 2.402 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.126, allocations: 8.031 kB / 0.6727 GB, free: 2.395 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.95e-05/0.1261, allocations: 56.28 kB / 0.6727 GB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005657/0.1267, allocations: 416.6 kB / 0.6731 GB, free: 1.887 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/0.1267, allocations: 29.38 kB / 0.6731 GB, free: 1.859 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/0.1268, allocations: 44.36 kB / 0.6732 GB, free: 1.816 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006839/0.1275, allocations: 413.9 kB / 0.6736 GB, free: 1.391 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1275, allocations: 0 / 0.6736 GB, free: 1.391 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.1276, allocations: 12 kB / 0.6736 GB, free: 1.379 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1276, allocations: 12 kB / 0.6736 GB, free: 1.367 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.1281, allocations: 267.8 kB / 0.6738 GB, free: 1.105 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.1299, allocations: 1.348 MB / 0.6752 GB, free: 15.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.1306, allocations: 315.4 kB / 0.6755 GB, free: 15.37 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.1309, allocations: 137.4 kB / 0.6756 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.1309, allocations: 4 kB / 0.6756 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003679/0.1313, allocations: 178.4 kB / 0.6758 GB, free: 15.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.1313, allocations: 4 kB / 0.6758 GB, free: 15.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.00078/0.1321, allocations: 381.8 kB / 0.6761 GB, free: 14.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.1321, allocations: 85.05 kB / 0.6762 GB, free: 14.56 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.1325, allocations: 353.6 kB / 0.6766 GB, free: 14.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.1325, allocations: 37.7 kB / 0.6766 GB, free: 14.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.1327, allocations: 232.3 kB / 0.6768 GB, free: 13.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.201e-05/0.1328, allocations: 106.5 kB / 0.6769 GB, free: 13.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.1328, allocations: 8 kB / 0.6769 GB, free: 13.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1329, allocations: 350.8 kB / 0.6773 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.1331, allocations: 100.7 kB / 0.6774 GB, free: 13.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.1334, allocations: 172.4 kB / 0.6775 GB, free: 13.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.1339, allocations: 263.8 kB / 0.6778 GB, free: 12.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1339, allocations: 3.938 kB / 0.6778 GB, free: 12.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005976/0.1345, allocations: 354.5 kB / 0.6781 GB, free: 12.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.82e-05/0.1346, allocations: 134.3 kB / 0.6782 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.1346, allocations: 0 / 0.6782 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1346, allocations: 4 kB / 0.6782 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.1349, allocations: 71.83 kB / 0.6783 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1349, allocations: 4 kB / 0.6783 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.1351, allocations: 47.67 kB / 0.6784 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.1351, allocations: 12 kB / 0.6784 GB, free: 12.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.1352, allocations: 7.938 kB / 0.6784 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004889/0.1357, allocations: 272.1 kB / 0.6786 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1357, allocations: 12.17 kB / 0.6787 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.1357, allocations: 4 kB / 0.6787 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.1359, allocations: 67.84 kB / 0.6787 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1359, allocations: 4 kB / 0.6787 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.1361, allocations: 35.73 kB / 0.6788 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.1361, allocations: 12 kB / 0.6788 GB, free: 11.83 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.1364, allocations: 249.2 kB / 0.679 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.1364, allocations: 43.47 kB / 0.679 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.586e-05/0.1365, allocations: 48.19 kB / 0.6791 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1365, allocations: 7.984 kB / 0.6791 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.1365, allocations: 0 / 0.6791 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1365, allocations: 0 / 0.6791 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.1376, allocations: 0.817 MB / 0.6799 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1377, allocations: 0 / 0.6799 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.1379, allocations: 55.84 kB / 0.68 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1379, allocations: 4 kB / 0.68 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.138, allocations: 4 kB / 0.68 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.138, allocations: 8 kB / 0.68 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.138, allocations: 0 / 0.68 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007847/0.1388, allocations: 0.5144 MB / 0.6805 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.1389, allocations: 136.6 kB / 0.6806 GB, free: 9.852 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.1389, allocations: 8 kB / 0.6806 GB, free: 9.844 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.1391, allocations: 28.03 kB / 0.6806 GB, free: 9.816 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.1392, allocations: 27.91 kB / 0.6807 GB, free: 9.789 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1392, allocations: 4 kB / 0.6807 GB, free: 9.785 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002345/0.1395, allocations: 243.2 kB / 0.6809 GB, free: 9.551 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1395, allocations: 0 / 0.6809 GB, free: 9.551 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000477/0.14, allocations: 155.3 kB / 0.681 GB, free: 9.398 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001366/0.1401, allocations: 115.2 kB / 0.6812 GB, free: 9.273 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007733/0.1409, allocations: 432.5 kB / 0.6816 GB, free: 8.852 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1409, allocations: 0 / 0.6816 GB, free: 8.852 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.1412, allocations: 142.3 kB / 0.6817 GB, free: 8.715 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.1417, allocations: 88.42 kB / 0.6818 GB, free: 8.633 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.1432, allocations: 1.025 MB / 0.6828 GB, free: 7.586 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.1435, allocations: 0.8159 MB / 0.6836 GB, free: 6.742 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000244/0.1438, allocations: 47.25 kB / 0.6836 GB, free: 6.691 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.861e-05/0.1439, allocations: 31.44 kB / 0.6837 GB, free: 6.66 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1439, allocations: 0 / 0.6837 GB, free: 6.66 MB / 458.7 MB Notification: Performance of Templates: time 0.0079/0.1518, allocations: 3.632 MB / 0.6872 GB, free: 3.047 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)