Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6811/0.6811, allocations: 131 MB / 146.3 MB, free: 1.285 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.0008768/0.0008772, allocations: 180.2 kB / 176.4 MB, free: 4.898 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.322/1.322, allocations: 225.7 MB / 431.9 MB, free: 8.77 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.0007339/0.000734, allocations: 93.41 kB / 0.5003 GB, free: 9.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002991, allocations: 8 kB / 0.5885 GB, free: 72.67 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1228, allocations: 79.6 MB / 0.6662 GB, free: 8.914 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001507/0.1244, allocations: 1.139 MB / 0.6674 GB, free: 7.762 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006327/0.125, allocations: 493.2 kB / 0.6678 GB, free: 7.258 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.1251, allocations: 0 / 0.6678 GB, free: 7.258 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.1251, allocations: 3.938 kB / 0.6678 GB, free: 7.254 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.206e-05/0.1252, allocations: 3.938 kB / 0.6678 GB, free: 7.25 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.1253, allocations: 15.97 kB / 0.6679 GB, free: 7.234 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.759e-05/0.1254, allocations: 47.8 kB / 0.6679 GB, free: 7.188 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.007e-05/0.1255, allocations: 15.98 kB / 0.6679 GB, free: 7.172 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.125e-05/0.1255, allocations: 15.94 kB / 0.6679 GB, free: 7.156 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.6e-05/0.1256, allocations: 15.86 kB / 0.6679 GB, free: 7.141 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1256, allocations: 4 kB / 0.668 GB, free: 7.137 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.1256, allocations: 0 / 0.668 GB, free: 7.137 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.1257, allocations: 11.98 kB / 0.668 GB, free: 7.125 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.1257, allocations: 45.56 kB / 0.668 GB, free: 7.074 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.884e-05/0.1258, allocations: 39.88 kB / 0.668 GB, free: 7.035 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1258, allocations: 0 / 0.668 GB, free: 7.035 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1258, allocations: 0 / 0.668 GB, free: 7.035 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1258, allocations: 3.938 kB / 0.668 GB, free: 7.031 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004874/0.1263, allocations: 389.4 kB / 0.6684 GB, free: 6.598 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.1264, allocations: 8.031 kB / 0.6684 GB, free: 6.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.1264, allocations: 8.844 kB / 0.6684 GB, free: 6.582 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.1265, allocations: 176.3 kB / 0.6686 GB, free: 6.371 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1265, allocations: 384 / 0.6686 GB, free: 6.371 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.1265, allocations: 12.31 kB / 0.6686 GB, free: 6.359 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.994e-05/0.1266, allocations: 54 kB / 0.6687 GB, free: 6.301 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1267, allocations: 0 / 0.6687 GB, free: 6.301 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1267, allocations: 0 / 0.6687 GB, free: 6.301 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1267, allocations: 0 / 0.6687 GB, free: 6.301 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.176e-05/0.1267, allocations: 19.98 kB / 0.6687 GB, free: 6.281 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.1271, allocations: 276.7 kB / 0.6689 GB, free: 5.961 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.017e-05/0.1272, allocations: 50.48 kB / 0.669 GB, free: 5.902 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.16e-05/0.1272, allocations: 20.98 kB / 0.669 GB, free: 5.879 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.1272, allocations: 0 / 0.669 GB, free: 5.879 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.1274, allocations: 101.1 kB / 0.6691 GB, free: 5.762 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.1274, allocations: 0 / 0.6691 GB, free: 5.762 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.000244/0.1276, allocations: 139.3 kB / 0.6692 GB, free: 5.613 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.1277, allocations: 81.11 kB / 0.6693 GB, free: 5.516 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.499e-05/0.1278, allocations: 113.8 kB / 0.6694 GB, free: 5.395 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1278, allocations: 33.7 kB / 0.6695 GB, free: 5.355 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.1279, allocations: 88.14 kB / 0.6695 GB, free: 5.266 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.1279, allocations: 19.8 kB / 0.6696 GB, free: 5.246 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.1279, allocations: 0 / 0.6696 GB, free: 5.246 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.128, allocations: 322.8 kB / 0.6699 GB, free: 4.922 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-05/0.128, allocations: 15.98 kB / 0.6699 GB, free: 4.906 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.92e-05/0.1281, allocations: 46.5 kB / 0.6699 GB, free: 4.852 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.916e-05/0.1282, allocations: 106.4 kB / 0.67 GB, free: 4.727 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1282, allocations: 384 / 0.67 GB, free: 4.727 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001359/0.1283, allocations: 127.2 kB / 0.6702 GB, free: 4.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.1284, allocations: 33.69 kB / 0.6702 GB, free: 4.551 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1284, allocations: 0 / 0.6702 GB, free: 4.551 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1284, allocations: 7.938 kB / 0.6702 GB, free: 4.543 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.904e-05/0.1284, allocations: 12 kB / 0.6702 GB, free: 4.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1284, allocations: 0 / 0.6702 GB, free: 4.531 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.559e-05/0.1285, allocations: 11.92 kB / 0.6702 GB, free: 4.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1285, allocations: 4 kB / 0.6702 GB, free: 4.516 MB / 442.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.429e-05/0.1286, allocations: 150 kB / 0.6704 GB, free: 4.355 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.1286, allocations: 7.906 kB / 0.6704 GB, free: 4.348 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.1287, allocations: 12.36 kB / 0.6704 GB, free: 4.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1287, allocations: 4 kB / 0.6704 GB, free: 4.336 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1287, allocations: 4 kB / 0.6704 GB, free: 4.332 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1287, allocations: 0 / 0.6704 GB, free: 4.332 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.129, allocations: 400.1 kB / 0.6708 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.129, allocations: 0 / 0.6708 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-06/0.1291, allocations: 0 / 0.6708 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1291, allocations: 0 / 0.6708 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1291, allocations: 8 kB / 0.6708 GB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1291, allocations: 0 / 0.6708 GB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1291, allocations: 3.938 kB / 0.6708 GB, free: 3.867 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.1293, allocations: 233.1 kB / 0.671 GB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.1293, allocations: 81.09 kB / 0.6711 GB, free: 3.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.1293, allocations: 4 kB / 0.6711 GB, free: 3.516 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1294, allocations: 15.98 kB / 0.6711 GB, free: 3.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.1295, allocations: 15.86 kB / 0.6711 GB, free: 3.484 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.1295, allocations: 0 / 0.6711 GB, free: 3.484 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.295e-05/0.1296, allocations: 95.27 kB / 0.6712 GB, free: 3.391 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1296, allocations: 3.938 kB / 0.6712 GB, free: 3.387 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000195/0.1298, allocations: 12 kB / 0.6712 GB, free: 3.375 MB / 442.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 9.346e-05/0.1299, allocations: 107.2 kB / 0.6713 GB, free: 3.258 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.13, allocations: 115.3 kB / 0.6714 GB, free: 3.133 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.13, allocations: 3.938 kB / 0.6714 GB, free: 3.129 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.859e-05/0.1301, allocations: 91.39 kB / 0.6715 GB, free: 3.027 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.1304, allocations: 12.12 kB / 0.6715 GB, free: 3.016 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.1306, allocations: 164.6 kB / 0.6717 GB, free: 2.828 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.1309, allocations: 0.6848 MB / 0.6724 GB, free: 2.117 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.468e-05/0.1309, allocations: 4 kB / 0.6724 GB, free: 2.113 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.1309, allocations: 19.44 kB / 0.6724 GB, free: 2.094 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1309, allocations: 0 / 0.6724 GB, free: 2.094 MB / 442.7 MB Notification: Performance of Templates: time 0.002365/0.1333, allocations: 0.7636 MB / 0.6731 GB, free: 1.336 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)