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.0076/0.0076, allocations: 99.67 kB / 15.73 MB, free: 6.016 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.002068/0.002068, allocations: 193.2 kB / 16.67 MB, free: 5.934 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002503/0.002503, allocations: 278.3 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.176/1.176, allocations: 178.6 MB / 0.5074 GB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 107.8 kB / 0.6943 GB, free: 15.23 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3638, allocations: 89.12 MB / 0.7813 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00206/0.3659, allocations: 1.489 MB / 0.7828 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007057/0.3666, allocations: 440.6 kB / 0.7832 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.3666, allocations: 5 kB / 0.7832 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.3667, allocations: 0 / 0.7832 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.006e-05/0.3668, allocations: 20.83 kB / 0.7832 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.3669, allocations: 16.73 kB / 0.7832 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.367, allocations: 51.69 kB / 0.7833 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.3671, allocations: 14.48 kB / 0.7833 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.3672, allocations: 23.48 kB / 0.7833 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.3672, allocations: 21.09 kB / 0.7833 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.3673, allocations: 9.031 kB / 0.7833 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.3673, allocations: 3.75 kB / 0.7833 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.3673, allocations: 6.375 kB / 0.7833 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.3674, allocations: 25.98 kB / 0.7834 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.3675, allocations: 50.83 kB / 0.7834 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3675, allocations: 4 kB / 0.7834 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3675, allocations: 0 / 0.7834 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.3675, allocations: 1.188 kB / 0.7834 GB, free: 15.46 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.000528/0.368, allocations: 359.5 kB / 0.7838 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.3681, allocations: 17.91 kB / 0.7838 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.3681, allocations: 36.23 kB / 0.7838 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.3681, allocations: 7.641 kB / 0.7838 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.3683, allocations: 167.3 kB / 0.784 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.3683, allocations: 5.938 kB / 0.784 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.3683, allocations: 4.125 kB / 0.784 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.3684, allocations: 63.95 kB / 0.7841 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3685, allocations: 0 / 0.7841 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3685, allocations: 5.375 kB / 0.7841 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3685, allocations: 1.688 kB / 0.7841 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.276e-05/0.3685, allocations: 24.67 kB / 0.7841 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.369, allocations: 305.8 kB / 0.7844 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.3692, allocations: 49.12 kB / 0.7844 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.3692, allocations: 28.78 kB / 0.7845 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.3692, allocations: 5.062 kB / 0.7845 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.3694, allocations: 75.25 kB / 0.7845 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.3694, allocations: 1.312 kB / 0.7845 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002229/0.3696, allocations: 100.4 kB / 0.7846 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.3697, allocations: 57.7 kB / 0.7847 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.697e-05/0.3698, allocations: 109 kB / 0.7848 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3698, allocations: 26.89 kB / 0.7848 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.3699, allocations: 93.62 kB / 0.7849 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.3699, allocations: 19.58 kB / 0.7849 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.3699, allocations: 27.33 kB / 0.7849 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3701, allocations: 324 kB / 0.7853 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.673e-05/0.3701, allocations: 13.78 kB / 0.7853 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.215e-05/0.3702, allocations: 56.36 kB / 0.7853 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.3703, allocations: 70.77 kB / 0.7854 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3703, allocations: 0 / 0.7854 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001397/0.3705, allocations: 90.91 kB / 0.7855 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.3705, allocations: 5.875 kB / 0.7855 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3705, allocations: 1.312 kB / 0.7855 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3705, allocations: 5.266 kB / 0.7855 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.733e-05/0.3706, allocations: 11.38 kB / 0.7855 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3706, allocations: 2.406 kB / 0.7855 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.325e-05/0.3707, allocations: 24.59 kB / 0.7855 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.3707, allocations: 6.5 kB / 0.7855 GB, free: 13.37 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 9.651e-05/0.3708, allocations: 121.1 kB / 0.7856 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.3708, allocations: 6.781 kB / 0.7857 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.3708, allocations: 3.969 kB / 0.7857 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3708, allocations: 1.438 kB / 0.7857 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3708, allocations: 1.406 kB / 0.7857 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3709, allocations: 288 / 0.7857 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.3713, allocations: 367.9 kB / 0.786 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3713, allocations: 3.984 kB / 0.786 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/0.3713, allocations: 3.844 kB / 0.786 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3713, allocations: 3.984 kB / 0.786 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3714, allocations: 1.781 kB / 0.786 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3714, allocations: 3.938 kB / 0.786 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3714, allocations: 0 / 0.786 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.3716, allocations: 187.8 kB / 0.7862 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.3716, allocations: 83.42 kB / 0.7863 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.3716, allocations: 1.125 kB / 0.7863 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.3717, allocations: 10.33 kB / 0.7863 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.3718, allocations: 8.656 kB / 0.7863 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.3718, allocations: 6.234 kB / 0.7863 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.309e-05/0.3718, allocations: 87.47 kB / 0.7864 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3718, allocations: 0 / 0.7864 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002325/0.3721, allocations: 10.97 kB / 0.7864 GB, free: 12.5 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.0004912/0.3726, allocations: 0.7266 MB / 0.7871 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.3727, allocations: 52.75 kB / 0.7872 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3727, allocations: 0 / 0.7872 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.218e-05/0.3728, allocations: 25.22 kB / 0.7872 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.3731, allocations: 16.58 kB / 0.7872 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.3743, allocations: 1.349 MB / 0.7885 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.3746, allocations: 0.6837 MB / 0.7892 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.3747, allocations: 7.734 kB / 0.7892 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.3747, allocations: 22.88 kB / 0.7892 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.3747, allocations: 0 / 0.7892 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.3961, allocations: 1.783 MB / 0.791 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/7.949, allocations: 14.89 kB / 0.791 GB, free: 8.805 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)