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.001471/0.001471, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 278.9 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9302/0.9302, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 110 kB / 0.5953 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1338, allocations: 86.98 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002327/0.1361, allocations: 1.46 MB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005849/0.1367, allocations: 449.9 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.1368, allocations: 0 / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.1368, allocations: 3.938 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.539e-05/0.1369, allocations: 3.938 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.137, allocations: 22.12 kB / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.213e-05/0.1371, allocations: 51.84 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.843e-05/0.1372, allocations: 20.27 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.494e-05/0.1372, allocations: 19.92 kB / 0.6823 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.597e-05/0.1373, allocations: 16.58 kB / 0.6823 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1373, allocations: 4 kB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.1373, allocations: 4.875 kB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.1374, allocations: 19.92 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.1374, allocations: 24.44 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.067e-05/0.1375, allocations: 51.69 kB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1375, allocations: 1.219 kB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1375, allocations: 0 / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1375, allocations: 0 / 0.6824 GB, free: 14.48 MB / 494.1 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.0004182/0.1379, allocations: 364.2 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.138, allocations: 8.031 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.015e-05/0.138, allocations: 38.75 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.138, allocations: 8.844 kB / 0.6828 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1382, allocations: 168.4 kB / 0.6829 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1382, allocations: 4.375 kB / 0.6829 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.1382, allocations: 4.375 kB / 0.6829 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.957e-05/0.1383, allocations: 61.75 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.1383, allocations: 0 / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1383, allocations: 0 / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1383, allocations: 11.98 kB / 0.683 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.464e-05/0.1384, allocations: 19.98 kB / 0.683 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.1388, allocations: 304.6 kB / 0.6833 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.472e-05/0.1389, allocations: 58.5 kB / 0.6834 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/0.139, allocations: 28.94 kB / 0.6834 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.139, allocations: 0 / 0.6834 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.1391, allocations: 71.42 kB / 0.6835 GB, free: 13.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1391, allocations: 0 / 0.6835 GB, free: 13.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001877/0.1393, allocations: 97.61 kB / 0.6836 GB, free: 13.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1394, allocations: 59.41 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.344e-05/0.1394, allocations: 109.8 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1395, allocations: 29.7 kB / 0.6838 GB, free: 12.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.1395, allocations: 84.14 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.1395, allocations: 27.64 kB / 0.6839 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.1396, allocations: 29.66 kB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.1397, allocations: 322.8 kB / 0.6842 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.512e-05/0.1397, allocations: 16 kB / 0.6842 GB, free: 12.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.104e-05/0.1398, allocations: 47.42 kB / 0.6843 GB, free: 12.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.759e-05/0.1398, allocations: 63.55 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1399, allocations: 4 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001304/0.14, allocations: 97.59 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.14, allocations: 4 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.14, allocations: 3.938 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.14, allocations: 4 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.039e-05/0.1401, allocations: 8 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1401, allocations: 4.031 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.1402, allocations: 15.95 kB / 0.6845 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.1402, allocations: 11.94 kB / 0.6845 GB, free: 12.07 MB / 494.1 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,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 7.069e-05/0.1403, allocations: 119.1 kB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.1403, allocations: 4 kB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.1403, allocations: 7.969 kB / 0.6846 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1403, allocations: 4.375 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1403, allocations: 0 / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1403, allocations: 7.984 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/0.1407, allocations: 366.2 kB / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1407, allocations: 0 / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.1408, allocations: 4 kB / 0.685 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1408, allocations: 0 / 0.685 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.1408, allocations: 4 kB / 0.685 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1408, allocations: 3.938 kB / 0.685 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1408, allocations: 0 / 0.685 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.1409, allocations: 183.5 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.141, allocations: 81.02 kB / 0.6852 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.141, allocations: 7.938 kB / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.1411, allocations: 11.92 kB / 0.6852 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.1411, allocations: 7.984 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1411, allocations: 4 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.625e-05/0.1412, allocations: 83.28 kB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1412, allocations: 4 kB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1414, allocations: 12 kB / 0.6853 GB, free: 11.08 MB / 494.1 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 0.0003463/0.1418, allocations: 0.7162 MB / 0.686 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.1419, allocations: 64.19 kB / 0.6861 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1419, allocations: 0 / 0.6861 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.884e-05/0.142, allocations: 35.92 kB / 0.6861 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.1423, allocations: 11.94 kB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1433, allocations: 1.353 MB / 0.6875 GB, free: 8.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.1435, allocations: 0.6897 MB / 0.6881 GB, free: 8.066 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.494e-05/0.1435, allocations: 11.88 kB / 0.6881 GB, free: 8.055 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.1436, allocations: 19.42 kB / 0.6882 GB, free: 8.035 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1436, allocations: 0 / 0.6882 GB, free: 8.035 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.16, allocations: 1.753 MB / 0.6899 GB, free: 6.406 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/7.101, allocations: 23.3 kB / 0.6899 GB, free: 6.387 MB / 494.1 MB (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)