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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001167/0.001167, allocations: 108 kB / 15.6 MB, free: 132 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.001202/0.001202, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.192/1.192, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.8605/0.8605, allocations: 143 MB / 433.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 59.91 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1238, allocations: 82.05 MB / 0.5944 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002134/0.126, allocations: 1.469 MB / 0.5958 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007292/0.1267, allocations: 446.9 kB / 0.5963 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.1268, allocations: 0 / 0.5963 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.1268, allocations: 7.875 kB / 0.5963 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.915e-05/0.1269, allocations: 11.92 kB / 0.5963 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.1271, allocations: 15.98 kB / 0.5963 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.827e-05/0.1272, allocations: 55.83 kB / 0.5963 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.398e-05/0.1272, allocations: 8 kB / 0.5964 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.1273, allocations: 19.92 kB / 0.5964 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.532e-05/0.1274, allocations: 27.92 kB / 0.5964 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1274, allocations: 4 kB / 0.5964 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.1274, allocations: 4 kB / 0.5964 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.1274, allocations: 11.92 kB / 0.5964 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.1275, allocations: 31.84 kB / 0.5964 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.035e-05/0.1275, allocations: 40.17 kB / 0.5965 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1276, allocations: 0 / 0.5965 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.61e-07/0.1276, allocations: 0 / 0.5965 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.1276, allocations: 0 / 0.5965 GB, free: 7.309 MB / 0.4981 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.0004476/0.128, allocations: 359.4 kB / 0.5968 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1281, allocations: 15.97 kB / 0.5968 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.1281, allocations: 38.73 kB / 0.5969 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.458e-05/0.1281, allocations: 8.844 kB / 0.5969 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.1283, allocations: 168.3 kB / 0.597 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1283, allocations: 4.312 kB / 0.5971 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.1283, allocations: 8.375 kB / 0.5971 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.1284, allocations: 65.73 kB / 0.5971 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1284, allocations: 0 / 0.5971 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.1284, allocations: 4 kB / 0.5971 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.1284, allocations: 0 / 0.5971 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.769e-05/0.1285, allocations: 27.98 kB / 0.5972 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.1289, allocations: 300.6 kB / 0.5974 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.316e-05/0.129, allocations: 54.56 kB / 0.5975 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/0.1291, allocations: 24.95 kB / 0.5975 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-06/0.1291, allocations: 0 / 0.5975 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.1292, allocations: 79.39 kB / 0.5976 GB, free: 6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.1292, allocations: 0 / 0.5976 GB, free: 6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0001881/0.1294, allocations: 105.5 kB / 0.5977 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.1295, allocations: 55.41 kB / 0.5977 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.461e-05/0.1295, allocations: 109.8 kB / 0.5979 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1296, allocations: 29.7 kB / 0.5979 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.1296, allocations: 84.14 kB / 0.598 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.1296, allocations: 23.66 kB / 0.598 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.1297, allocations: 29.7 kB / 0.598 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.1298, allocations: 318.8 kB / 0.5983 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.288e-05/0.1298, allocations: 19.98 kB / 0.5983 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.6e-05/0.1299, allocations: 47.8 kB / 0.5984 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.763e-05/0.1299, allocations: 67.38 kB / 0.5984 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.1299, allocations: 0 / 0.5984 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001252/0.1301, allocations: 101.4 kB / 0.5985 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1301, allocations: 11.94 kB / 0.5986 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1301, allocations: 0 / 0.5986 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.1301, allocations: 0 / 0.5986 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.1302, allocations: 16.02 kB / 0.5986 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1302, allocations: 4 kB / 0.5986 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.1303, allocations: 8 kB / 0.5986 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1303, allocations: 7.938 kB / 0.5986 GB, free: 4.898 MB / 0.4981 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.951e-05/0.1303, allocations: 121.8 kB / 0.5987 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.1304, allocations: 7.906 kB / 0.5987 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.1304, allocations: 7.969 kB / 0.5987 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1304, allocations: 0 / 0.5987 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1304, allocations: 0 / 0.5987 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1304, allocations: 4 kB / 0.5987 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.1308, allocations: 358.4 kB / 0.5991 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1308, allocations: 0 / 0.5991 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/0.1308, allocations: 7.984 kB / 0.5991 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1308, allocations: 0 / 0.5991 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.1308, allocations: 0 / 0.5991 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1308, allocations: 3.938 kB / 0.5991 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1308, allocations: 0 / 0.5991 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.131, allocations: 187.4 kB / 0.5993 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.131, allocations: 85.05 kB / 0.5993 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.131, allocations: 4 kB / 0.5993 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.1311, allocations: 11.92 kB / 0.5993 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.1311, allocations: 4 kB / 0.5994 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1312, allocations: 4.062 kB / 0.5994 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.1312, allocations: 91.53 kB / 0.5994 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1312, allocations: 8 kB / 0.5995 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002117/0.1314, allocations: 12.19 kB / 0.5995 GB, free: 3.895 MB / 0.4981 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.0003423/0.1318, allocations: 0.72 MB / 0.6002 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.1319, allocations: 55.91 kB / 0.6002 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1319, allocations: 64 / 0.6002 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.229e-05/0.1319, allocations: 27.94 kB / 0.6002 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.1322, allocations: 22.42 kB / 0.6003 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009679/0.1332, allocations: 1.35 MB / 0.6016 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.1334, allocations: 0.6846 MB / 0.6023 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.621e-05/0.1334, allocations: 7.984 kB / 0.6023 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.1334, allocations: 19.44 kB / 0.6023 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1335, allocations: 0 / 0.6023 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2055/0.3389, allocations: 1.736 MB / 0.604 GB, free: 44.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.103/6.442, allocations: 9.266 kB / 0.604 GB, free: 44.21 MB / 0.4981 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)