Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004809/0.004809, allocations: 95.31 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 204.6 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002038, allocations: 282.9 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8597/0.8597, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 95.86 kB / 0.6809 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1274, allocations: 86.98 MB / 0.7659 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002201/0.1297, allocations: 1.467 MB / 0.7673 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005857/0.1303, allocations: 443.5 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.1303, allocations: 0 / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.1304, allocations: 3.938 kB / 0.7677 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.332e-05/0.1304, allocations: 11.92 kB / 0.7678 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.1306, allocations: 27.86 kB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.344e-05/0.1306, allocations: 55.83 kB / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.198e-05/0.1307, allocations: 12 kB / 0.7678 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.1308, allocations: 19.92 kB / 0.7679 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.1308, allocations: 19.92 kB / 0.7679 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1308, allocations: 4 kB / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.1309, allocations: 4 kB / 0.7679 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.1309, allocations: 15.92 kB / 0.7679 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.1309, allocations: 31.91 kB / 0.7679 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.553e-05/0.131, allocations: 40.05 kB / 0.768 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.131, allocations: 4 kB / 0.768 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.131, allocations: 0 / 0.768 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.131, allocations: 0 / 0.768 GB, free: 6.809 MB / 0.5606 GB 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.0004031/0.1314, allocations: 359.3 kB / 0.7683 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.1315, allocations: 12.03 kB / 0.7683 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.1315, allocations: 38.73 kB / 0.7684 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.1315, allocations: 8.891 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.578e-05/0.1316, allocations: 168.3 kB / 0.7685 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1317, allocations: 8.375 kB / 0.7685 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.1317, allocations: 4.375 kB / 0.7686 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.672e-05/0.1318, allocations: 61.73 kB / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.1318, allocations: 0 / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1318, allocations: 4 kB / 0.7686 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1318, allocations: 0 / 0.7686 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.359e-05/0.1319, allocations: 27.98 kB / 0.7686 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.1323, allocations: 308.7 kB / 0.7689 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.742e-05/0.1324, allocations: 54.59 kB / 0.769 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.1324, allocations: 24.95 kB / 0.769 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.1324, allocations: 0 / 0.769 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.1326, allocations: 79.38 kB / 0.7691 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.1326, allocations: 7.875 kB / 0.7691 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0001836/0.1328, allocations: 97.62 kB / 0.7692 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.1328, allocations: 55.34 kB / 0.7692 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.935e-05/0.1329, allocations: 105.8 kB / 0.7693 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.1329, allocations: 33.69 kB / 0.7694 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.1329, allocations: 92.03 kB / 0.7695 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1329, allocations: 19.8 kB / 0.7695 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.133, allocations: 33.7 kB / 0.7695 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.1331, allocations: 322.8 kB / 0.7698 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.119e-05/0.1331, allocations: 15.98 kB / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.604e-05/0.1332, allocations: 47.42 kB / 0.7699 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.327e-05/0.1332, allocations: 63.38 kB / 0.7699 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1333, allocations: 4 kB / 0.7699 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001218/0.1334, allocations: 89.61 kB / 0.77 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.1334, allocations: 4 kB / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1334, allocations: 4 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.1334, allocations: 0 / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.013e-05/0.1335, allocations: 15.92 kB / 0.7701 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1335, allocations: 0 / 0.7701 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.145e-05/0.1336, allocations: 15.95 kB / 0.7701 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1336, allocations: 3.938 kB / 0.7701 GB, free: 4.406 MB / 0.5606 GB 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 6.892e-05/0.1336, allocations: 133.6 kB / 0.7702 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.1337, allocations: 0 / 0.7702 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.1337, allocations: 7.969 kB / 0.7702 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1337, allocations: 4 kB / 0.7702 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1337, allocations: 0 / 0.7702 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1337, allocations: 0 / 0.7702 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.134, allocations: 366.6 kB / 0.7706 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.134, allocations: 4.062 kB / 0.7706 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.599e-05/0.1341, allocations: 12 kB / 0.7706 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1341, allocations: 3.984 kB / 0.7706 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1341, allocations: 4.094 kB / 0.7706 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1341, allocations: 7.875 kB / 0.7706 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1341, allocations: 0 / 0.7706 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.1342, allocations: 179.4 kB / 0.7708 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.1343, allocations: 85.33 kB / 0.7708 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.1343, allocations: 4 kB / 0.7708 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.1344, allocations: 7.938 kB / 0.7709 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.1344, allocations: 15.98 kB / 0.7709 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1344, allocations: 3.984 kB / 0.7709 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.167e-05/0.1345, allocations: 83.27 kB / 0.771 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1345, allocations: 0 / 0.771 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002173/0.1347, allocations: 16 kB / 0.771 GB, free: 3.391 MB / 0.5606 GB 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 0.0003324/0.135, allocations: 0.7124 MB / 0.7717 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.1352, allocations: 59.86 kB / 0.7717 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.1352, allocations: 0 / 0.7717 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.629e-05/0.1352, allocations: 23.98 kB / 0.7717 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.1355, allocations: 12.31 kB / 0.7718 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/0.1364, allocations: 1.375 MB / 0.7731 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.1366, allocations: 0.6885 MB / 0.7738 GB, free: 384 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.1367, allocations: 7.938 kB / 0.7738 GB, free: 376 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.1367, allocations: 19.42 kB / 0.7738 GB, free: 356 kB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.1367, allocations: 0 / 0.7738 GB, free: 356 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2699/0.4066, allocations: 1.771 MB / 0.7755 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.602/7.008, allocations: 11.36 kB / 0.7755 GB, free: 14.37 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)