Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.004879/0.00488, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001284/0.001284, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.02/1.02, allocations: 143.3 MB / 433.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.89 kB / 0.5953 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3583, allocations: 82.02 MB / 0.6754 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002231/0.3606, allocations: 1.472 MB / 0.6768 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007628/0.3614, allocations: 456.5 kB / 0.6773 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.3614, allocations: 1.281 kB / 0.6773 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.3615, allocations: 7.922 kB / 0.6773 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-05/0.3615, allocations: 5.062 kB / 0.6773 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.3617, allocations: 19.33 kB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.3618, allocations: 61.02 kB / 0.6774 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3619, allocations: 17.64 kB / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.362, allocations: 19.48 kB / 0.6774 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.3621, allocations: 21.52 kB / 0.6774 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.3622, allocations: 3.844 kB / 0.6774 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.3622, allocations: 5.25 kB / 0.6774 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.3622, allocations: 9.328 kB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.3623, allocations: 26.22 kB / 0.6775 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.3624, allocations: 48.86 kB / 0.6775 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3624, allocations: 0.9688 kB / 0.6775 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3624, allocations: 0 / 0.6775 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.3624, allocations: 0 / 0.6775 GB, free: 15.34 MB / 0.5137 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.0005715/0.363, allocations: 365.2 kB / 0.6778 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.363, allocations: 9.5 kB / 0.6779 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.199e-05/0.3631, allocations: 36.16 kB / 0.6779 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.3631, allocations: 8.859 kB / 0.6779 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.3633, allocations: 170.4 kB / 0.6781 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3633, allocations: 6.594 kB / 0.6781 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.3633, allocations: 5 kB / 0.6781 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.3635, allocations: 66.45 kB / 0.6781 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3635, allocations: 5.062 kB / 0.6781 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3635, allocations: 0 / 0.6781 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.3635, allocations: 5.172 kB / 0.6781 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.61e-05/0.3636, allocations: 26.05 kB / 0.6782 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.3641, allocations: 298 kB / 0.6785 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.3643, allocations: 57.22 kB / 0.6785 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.3643, allocations: 28.59 kB / 0.6785 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.3643, allocations: 1.156 kB / 0.6785 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.3645, allocations: 79.91 kB / 0.6786 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3645, allocations: 0 / 0.6786 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002265/0.3648, allocations: 101.2 kB / 0.6787 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.3648, allocations: 53.66 kB / 0.6788 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.3649, allocations: 109 kB / 0.6789 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.365, allocations: 30.83 kB / 0.6789 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.365, allocations: 90.08 kB / 0.679 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.3651, allocations: 18.95 kB / 0.679 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.3651, allocations: 30.48 kB / 0.679 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3653, allocations: 320 kB / 0.6793 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.803e-05/0.3653, allocations: 17.7 kB / 0.6794 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.3654, allocations: 49.17 kB / 0.6794 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.438e-05/0.3655, allocations: 66.88 kB / 0.6795 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3655, allocations: 0 / 0.6795 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000147/0.3656, allocations: 94.67 kB / 0.6796 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3657, allocations: 5.969 kB / 0.6796 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3657, allocations: 0 / 0.6796 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3657, allocations: 5.875 kB / 0.6796 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.3658, allocations: 8.062 kB / 0.6796 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3658, allocations: 5.453 kB / 0.6796 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.249e-05/0.3659, allocations: 17.11 kB / 0.6796 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3659, allocations: 7.562 kB / 0.6796 GB, free: 13.26 MB / 0.5137 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.222e-05/0.366, allocations: 118.1 kB / 0.6797 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.366, allocations: 2.75 kB / 0.6797 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.366, allocations: 13.3 kB / 0.6797 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.366, allocations: 5.391 kB / 0.6797 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.366, allocations: 4 kB / 0.6797 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3661, allocations: 0 / 0.6797 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.3665, allocations: 368.2 kB / 0.6801 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3665, allocations: 0 / 0.6801 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.3666, allocations: 3.5 kB / 0.6801 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3666, allocations: 1.156 kB / 0.6801 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3666, allocations: 4.969 kB / 0.6801 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.3666, allocations: 7.922 kB / 0.6801 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3666, allocations: 1.062 kB / 0.6801 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.3668, allocations: 179.3 kB / 0.6803 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.3668, allocations: 87.19 kB / 0.6804 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.3669, allocations: 5.109 kB / 0.6804 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.367, allocations: 7.125 kB / 0.6804 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.367, allocations: 7.578 kB / 0.6804 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.367, allocations: 6.156 kB / 0.6804 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.913e-05/0.3671, allocations: 83.55 kB / 0.6805 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.124e-06/0.3671, allocations: 4 kB / 0.6805 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002408/0.3673, allocations: 19.41 kB / 0.6805 GB, free: 12.38 MB / 0.5137 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.0006028/0.3679, allocations: 0.7115 MB / 0.6812 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.3681, allocations: 52.86 kB / 0.6812 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3681, allocations: 4.062 kB / 0.6812 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.901e-05/0.3682, allocations: 29.17 kB / 0.6813 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.3684, allocations: 25.38 kB / 0.6813 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.3698, allocations: 1.354 MB / 0.6826 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.3702, allocations: 0.692 MB / 0.6833 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.719e-05/0.3702, allocations: 3.188 kB / 0.6833 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.3703, allocations: 15.72 kB / 0.6833 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.3703, allocations: 0 / 0.6833 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.3923, allocations: 1.784 MB / 0.685 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.24, allocations: 11.73 kB / 0.6851 GB, free: 8.684 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)