Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.784/0.784, allocations: 143.8 MB / 159.1 MB, free: 6.543 MB / 122.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.0009329/0.0009329, allocations: 171.3 kB / 192 MB, free: 6.742 MB / 154.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.309/1.309, allocations: 225.7 MB / 450.4 MB, free: 5.012 MB / 330.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.0007535/0.0007537, allocations: 118.9 kB / 0.5211 GB, free: 1.676 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001639/0.001639, allocations: 275.2 kB / 0.6025 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 11.09 kB / 0.6948 GB, free: 59.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1183, allocations: 82.46 MB / 0.7753 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.001575/0.1199, allocations: 1.174 MB / 0.7765 GB, free: 13.21 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00058/0.1205, allocations: 411.3 kB / 0.7768 GB, free: 12.8 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.1205, allocations: 4 kB / 0.7768 GB, free: 12.8 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.1206, allocations: 3.938 kB / 0.7769 GB, free: 12.8 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.778e-05/0.1206, allocations: 8 kB / 0.7769 GB, free: 12.79 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.1208, allocations: 15.92 kB / 0.7769 GB, free: 12.77 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.676e-05/0.1208, allocations: 51.84 kB / 0.7769 GB, free: 12.72 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.409e-05/0.1209, allocations: 11.98 kB / 0.7769 GB, free: 12.71 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.804e-05/0.121, allocations: 23.86 kB / 0.777 GB, free: 12.69 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.499e-05/0.121, allocations: 15.92 kB / 0.777 GB, free: 12.67 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.1211, allocations: 4 kB / 0.777 GB, free: 12.67 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.1211, allocations: 0 / 0.777 GB, free: 12.67 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.1211, allocations: 7.984 kB / 0.777 GB, free: 12.66 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.1212, allocations: 49.58 kB / 0.777 GB, free: 12.61 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 7.698e-05/0.1212, allocations: 48.08 kB / 0.7771 GB, free: 12.56 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1213, allocations: 0 / 0.7771 GB, free: 12.56 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1213, allocations: 0 / 0.7771 GB, free: 12.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.1213, allocations: 0 / 0.7771 GB, free: 12.56 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004261/0.1217, allocations: 355.4 kB / 0.7774 GB, free: 12.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1217, allocations: 8.031 kB / 0.7774 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.1218, allocations: 12.84 kB / 0.7774 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1219, allocations: 168.4 kB / 0.7776 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1219, allocations: 384 / 0.7776 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.1219, allocations: 8.375 kB / 0.7776 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.122, allocations: 65.92 kB / 0.7777 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.122, allocations: 0 / 0.7777 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.1221, allocations: 0 / 0.7777 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1221, allocations: 0 / 0.7777 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.204e-05/0.1221, allocations: 27.98 kB / 0.7777 GB, free: 11.84 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.1226, allocations: 308.6 kB / 0.778 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.549e-05/0.1227, allocations: 54.56 kB / 0.778 GB, free: 11.42 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.1228, allocations: 24.95 kB / 0.7781 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.1228, allocations: 4 kB / 0.7781 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.1229, allocations: 83.28 kB / 0.7781 GB, free: 11.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.1229, allocations: 0 / 0.7781 GB, free: 11.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001903/0.1231, allocations: 97.61 kB / 0.7782 GB, free: 11.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.1232, allocations: 51.41 kB / 0.7783 GB, free: 11.13 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.1233, allocations: 109.8 kB / 0.7784 GB, free: 11.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1233, allocations: 29.7 kB / 0.7784 GB, free: 10.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.1233, allocations: 88.14 kB / 0.7785 GB, free: 10.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.1234, allocations: 27.64 kB / 0.7785 GB, free: 10.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.1234, allocations: 4 kB / 0.7785 GB, free: 10.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.1235, allocations: 318.8 kB / 0.7788 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.115e-05/0.1235, allocations: 12 kB / 0.7789 GB, free: 10.53 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.121e-05/0.1236, allocations: 51.36 kB / 0.7789 GB, free: 10.46 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.762e-05/0.1237, allocations: 67.36 kB / 0.779 GB, free: 10.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1237, allocations: 0 / 0.779 GB, free: 10.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001381/0.1238, allocations: 101.8 kB / 0.7791 GB, free: 10.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1239, allocations: 4 kB / 0.7791 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1239, allocations: 4 kB / 0.7791 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1239, allocations: 4.047 kB / 0.7791 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.1239, allocations: 11.98 kB / 0.7791 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.124, allocations: 0 / 0.7791 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.719e-05/0.124, allocations: 19.92 kB / 0.7791 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.124, allocations: 0 / 0.7791 GB, free: 10.24 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.746e-05/0.1241, allocations: 130.3 kB / 0.7792 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-06/0.1241, allocations: 0 / 0.7792 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.1242, allocations: 7.969 kB / 0.7792 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1242, allocations: 7.984 kB / 0.7792 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1242, allocations: 0 / 0.7792 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1242, allocations: 0 / 0.7792 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.1246, allocations: 366.7 kB / 0.7796 GB, free: 9.668 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1246, allocations: 96 / 0.7796 GB, free: 9.668 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.1246, allocations: 11.88 kB / 0.7796 GB, free: 9.656 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1246, allocations: 0 / 0.7796 GB, free: 9.656 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1246, allocations: 4 kB / 0.7796 GB, free: 9.652 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1246, allocations: 3.938 kB / 0.7796 GB, free: 9.648 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1246, allocations: 0 / 0.7796 GB, free: 9.648 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.1248, allocations: 187.5 kB / 0.7798 GB, free: 9.449 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.1248, allocations: 81.02 kB / 0.7799 GB, free: 9.352 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.1249, allocations: 3.984 kB / 0.7799 GB, free: 9.348 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/0.1249, allocations: 15.94 kB / 0.7799 GB, free: 9.332 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.125, allocations: 7.984 kB / 0.7799 GB, free: 9.324 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.125, allocations: 0 / 0.7799 GB, free: 9.324 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.458e-05/0.125, allocations: 83.28 kB / 0.78 GB, free: 9.242 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.125, allocations: 7.938 kB / 0.78 GB, free: 9.234 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.1253, allocations: 15.98 kB / 0.78 GB, free: 9.219 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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 8.553e-05/0.1253, allocations: 107.2 kB / 0.7801 GB, free: 9.105 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.1255, allocations: 47.92 kB / 0.7801 GB, free: 9.059 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1255, allocations: 0 / 0.7801 GB, free: 9.059 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.012e-05/0.1255, allocations: 31.92 kB / 0.7802 GB, free: 9.027 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.1258, allocations: 4 kB / 0.7802 GB, free: 9.023 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.1261, allocations: 184.7 kB / 0.7804 GB, free: 8.816 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.1264, allocations: 0.6886 MB / 0.781 GB, free: 8.102 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.588e-05/0.1264, allocations: 11.94 kB / 0.781 GB, free: 8.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.1264, allocations: 11.44 kB / 0.7811 GB, free: 8.078 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1264, allocations: 288 / 0.7811 GB, free: 8.078 MB / 458.7 MB Notification: Performance of Templates: time 0.002294/0.1287, allocations: 0.6881 MB / 0.7817 GB, free: 7.398 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)