Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7482/0.7482, allocations: 143.8 MB / 159.1 MB, free: 6.512 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.001005/0.001005, allocations: 186.3 kB / 192 MB, free: 6.723 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.366/1.366, allocations: 225.7 MB / 450.4 MB, free: 4.992 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.0008971/0.0008969, allocations: 110.5 kB / 0.5211 GB, free: 1.648 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.00166/0.00166, allocations: 274.2 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003993, allocations: 13.38 kB / 0.6948 GB, free: 59.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.122, allocations: 82.45 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.001441/0.1235, allocations: 1.138 MB / 0.7764 GB, free: 13.2 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006494/0.1242, allocations: 488.5 kB / 0.7769 GB, free: 12.7 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.297e-05/0.1242, allocations: 0 / 0.7769 GB, free: 12.7 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.1243, allocations: 3.938 kB / 0.7769 GB, free: 12.7 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.766e-05/0.1244, allocations: 7.922 kB / 0.7769 GB, free: 12.69 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.1245, allocations: 11.98 kB / 0.7769 GB, free: 12.68 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.299e-05/0.1246, allocations: 51.8 kB / 0.7769 GB, free: 12.63 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.765e-05/0.1247, allocations: 11.97 kB / 0.777 GB, free: 12.62 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.877e-05/0.1247, allocations: 12 kB / 0.777 GB, free: 12.61 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.848e-05/0.1248, allocations: 19.8 kB / 0.777 GB, free: 12.59 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1248, allocations: 8 kB / 0.777 GB, free: 12.58 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.1249, allocations: 0 / 0.777 GB, free: 12.58 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.1249, allocations: 15.97 kB / 0.777 GB, free: 12.56 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.1249, allocations: 45.52 kB / 0.7771 GB, free: 12.51 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 8.749e-05/0.125, allocations: 44.09 kB / 0.7771 GB, free: 12.47 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.125, allocations: 0 / 0.7771 GB, free: 12.47 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1251, allocations: 0 / 0.7771 GB, free: 12.47 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.1251, allocations: 0 / 0.7771 GB, free: 12.47 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005145/0.1256, allocations: 389.1 kB / 0.7775 GB, free: 12.04 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1256, allocations: 12.03 kB / 0.7775 GB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.1257, allocations: 4.844 kB / 0.7775 GB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1258, allocations: 172.4 kB / 0.7776 GB, free: 11.81 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1258, allocations: 4.375 kB / 0.7777 GB, free: 11.81 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.1258, allocations: 4.359 kB / 0.7777 GB, free: 11.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.1259, allocations: 54 kB / 0.7777 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1259, allocations: 3.938 kB / 0.7777 GB, free: 11.74 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1259, allocations: 4 kB / 0.7777 GB, free: 11.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.126, allocations: 4 kB / 0.7777 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.304e-05/0.126, allocations: 15.98 kB / 0.7777 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.1264, allocations: 272.8 kB / 0.778 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.748e-05/0.1265, allocations: 42.56 kB / 0.778 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.1265, allocations: 16.98 kB / 0.7781 GB, free: 11.33 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.1265, allocations: 4 kB / 0.7781 GB, free: 11.33 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.1267, allocations: 101 kB / 0.7782 GB, free: 11.21 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.1267, allocations: 0 / 0.7782 GB, free: 11.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002515/0.127, allocations: 151.3 kB / 0.7783 GB, free: 11.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.127, allocations: 77.11 kB / 0.7784 GB, free: 10.96 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.1271, allocations: 109.8 kB / 0.7785 GB, free: 10.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1271, allocations: 29.7 kB / 0.7785 GB, free: 10.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.1272, allocations: 88.08 kB / 0.7786 GB, free: 10.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.1272, allocations: 19.75 kB / 0.7786 GB, free: 10.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.1272, allocations: 0 / 0.7786 GB, free: 10.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.1273, allocations: 326.8 kB / 0.7789 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.377e-05/0.1273, allocations: 15.98 kB / 0.7789 GB, free: 10.35 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.211e-05/0.1274, allocations: 34.86 kB / 0.779 GB, free: 10.31 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.449e-05/0.1275, allocations: 114 kB / 0.7791 GB, free: 10.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1275, allocations: 7.938 kB / 0.7791 GB, free: 10.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001392/0.1276, allocations: 127.6 kB / 0.7792 GB, free: 10.03 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.1277, allocations: 33.69 kB / 0.7792 GB, free: 9.992 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1277, allocations: 7.984 kB / 0.7792 GB, free: 9.984 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1277, allocations: 0 / 0.7792 GB, free: 9.984 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.944e-05/0.1277, allocations: 4 kB / 0.7792 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1278, allocations: 3.938 kB / 0.7793 GB, free: 9.977 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.609e-05/0.1278, allocations: 12.06 kB / 0.7793 GB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1278, allocations: 4 kB / 0.7793 GB, free: 9.961 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.579e-05/0.1279, allocations: 154.4 kB / 0.7794 GB, free: 9.797 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.128, allocations: 7.906 kB / 0.7794 GB, free: 9.789 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.128, allocations: 8.375 kB / 0.7794 GB, free: 9.781 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.128, allocations: 0 / 0.7794 GB, free: 9.781 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.128, allocations: 4.062 kB / 0.7794 GB, free: 9.777 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.128, allocations: 3.984 kB / 0.7794 GB, free: 9.773 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.1284, allocations: 400.2 kB / 0.7798 GB, free: 9.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1284, allocations: 0 / 0.7798 GB, free: 9.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-06/0.1284, allocations: 0 / 0.7798 GB, free: 9.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1284, allocations: 0 / 0.7798 GB, free: 9.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1284, allocations: 8 kB / 0.7798 GB, free: 9.312 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1284, allocations: 0 / 0.7798 GB, free: 9.312 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1285, allocations: 3.984 kB / 0.7798 GB, free: 9.309 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.1286, allocations: 241 kB / 0.7801 GB, free: 9.051 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.1287, allocations: 77.11 kB / 0.7801 GB, free: 8.957 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1287, allocations: 7.984 kB / 0.7801 GB, free: 8.949 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1288, allocations: 12 kB / 0.7802 GB, free: 8.938 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.1289, allocations: 15.86 kB / 0.7802 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1289, allocations: 4 kB / 0.7802 GB, free: 8.918 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.926e-05/0.1289, allocations: 87.27 kB / 0.7803 GB, free: 8.832 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1289, allocations: 0 / 0.7803 GB, free: 8.832 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002056/0.1292, allocations: 19.94 kB / 0.7803 GB, free: 8.812 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.987e-05/0.1293, allocations: 107.2 kB / 0.7804 GB, free: 8.699 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.1294, allocations: 115.3 kB / 0.7805 GB, free: 8.574 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1294, allocations: 0 / 0.7805 GB, free: 8.574 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.962e-05/0.1295, allocations: 95.33 kB / 0.7806 GB, free: 8.469 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.1298, allocations: 12 kB / 0.7806 GB, free: 8.457 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.1301, allocations: 168.7 kB / 0.7807 GB, free: 8.258 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.1303, allocations: 0.6869 MB / 0.7814 GB, free: 7.547 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.869e-05/0.1303, allocations: 7.984 kB / 0.7814 GB, free: 7.539 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.1304, allocations: 11.44 kB / 0.7814 GB, free: 7.527 MB / 458.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1304, allocations: 0 / 0.7814 GB, free: 7.527 MB / 458.7 MB Notification: Performance of Templates: time 0.002489/0.1329, allocations: 0.7686 MB / 0.7822 GB, free: 6.766 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.sim & ./BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)