Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.00113/0.00113, 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.001126/0.001126, allocations: 195.1 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.9925/0.9925, allocations: 143 MB / 433.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1668, allocations: 82.04 MB / 0.5944 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4937/0.6605, allocations: 156.7 MB / 0.7474 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02725/0.6878, allocations: 21.77 MB / 0.7687 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.6901, allocations: 55.69 kB / 0.7688 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.6919, allocations: 1.157 MB / 0.7699 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.6938, allocations: 0.8562 MB / 0.7707 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.6953, allocations: 443.5 kB / 0.7711 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001572/0.6969, allocations: 1.247 MB / 0.7724 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.698, allocations: 0.6866 MB / 0.773 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.699, allocations: 0.5491 MB / 0.7736 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.7002, allocations: 0.9138 MB / 0.7745 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.7004, allocations: 68 kB / 0.7745 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003474/0.7008, allocations: 123.9 kB / 0.7746 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.7011, allocations: 312.8 kB / 0.7749 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005481/0.7016, allocations: 492.8 kB / 0.7754 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.7029, allocations: 1.211 MB / 0.7766 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.7029, allocations: 0 / 0.7766 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7029, allocations: 0 / 0.7766 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.817e-05/0.703, allocations: 0 / 0.7766 GB, free: 2.664 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002729/0.7057, allocations: 1.478 MB / 0.778 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.7058, allocations: 8.031 kB / 0.7781 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.7059, allocations: 90.7 kB / 0.7781 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.7061, allocations: 135.2 kB / 0.7783 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009491/0.7071, allocations: 0.655 MB / 0.7789 GB, free: 192 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.7072, allocations: 74.69 kB / 0.779 GB, free: 112 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.759e-05/0.7073, allocations: 44 kB / 0.779 GB, free: 68 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000964/0.7083, allocations: 0.5185 MB / 0.7795 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.7083, allocations: 11.84 kB / 0.7795 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.7084, allocations: 16 kB / 0.7796 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.7084, allocations: 8 kB / 0.7796 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008333/0.7092, allocations: 407.7 kB / 0.7799 GB, free: 15.09 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003741/0.713, allocations: 2.817 MB / 0.7827 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.714, allocations: 456 kB / 0.7831 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/0.7146, allocations: 281.4 kB / 0.7834 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.7146, allocations: 8.641 kB / 0.7834 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005618/0.7152, allocations: 301.9 kB / 0.7837 GB, free: 11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 3.206e-06/0.7152, allocations: 0 / 0.7837 GB, free: 11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002915/0.7181, allocations: 1.24 MB / 0.7849 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.7182, allocations: 55.41 kB / 0.785 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.7203, allocations: 1.752 MB / 0.7867 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.7204, allocations: 37.7 kB / 0.7867 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005444/0.7209, allocations: 0.5222 MB / 0.7872 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.7211, allocations: 153.9 kB / 0.7874 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.7213, allocations: 98.16 kB / 0.7875 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.7214, allocations: 326 kB / 0.7878 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.7219, allocations: 224.9 kB / 0.788 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005429/0.7225, allocations: 320.9 kB / 0.7883 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009292/0.7234, allocations: 0.5103 MB / 0.7888 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.7234, allocations: 0 / 0.7888 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001697/0.7251, allocations: 0.8506 MB / 0.7896 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.7252, allocations: 8 kB / 0.7896 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.7252, allocations: 4 kB / 0.7896 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/0.7257, allocations: 188.8 kB / 0.7898 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.7261, allocations: 91.88 kB / 0.7899 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/0.7298, allocations: 2.993 MB / 0.7928 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.7304, allocations: 75.41 kB / 0.7929 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.7305, allocations: 19.98 kB / 0.7929 GB, free: 1.242 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007137/0.7312, allocations: 379.5 kB / 0.7933 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.7314, allocations: 122.5 kB / 0.7934 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.7318, allocations: 139.7 kB / 0.7935 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/0.7318, allocations: 4 kB / 0.7935 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-05/0.7319, allocations: 11.94 kB / 0.7935 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.7319, allocations: 3.984 kB / 0.7935 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.7346, allocations: 1.562 MB / 0.7951 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.7346, allocations: 0 / 0.7951 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.7349, allocations: 47.91 kB / 0.7951 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000542/0.7355, allocations: 198.6 kB / 0.7953 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.7355, allocations: 15.97 kB / 0.7953 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004614/0.7401, allocations: 4.54 MB / 0.7998 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7402, allocations: 3.938 kB / 0.7998 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.742, allocations: 1.068 MB / 0.8008 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.7424, allocations: 215.8 kB / 0.801 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.7425, allocations: 11.98 kB / 0.801 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.7429, allocations: 31.97 kB / 0.801 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.743, allocations: 55.91 kB / 0.8011 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.7431, allocations: 20 kB / 0.8011 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001423/0.7445, allocations: 1.284 MB / 0.8024 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.784e-06/0.7445, allocations: 0 / 0.8024 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008143/0.7453, allocations: 203.6 kB / 0.8026 GB, free: 6.945 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003183/0.7485, allocations: 1.983 MB / 0.8045 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001666/0.7502, allocations: 0.7562 MB / 0.8052 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.7502, allocations: 8.188 kB / 0.8053 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009297/0.7512, allocations: 0.5462 MB / 0.8058 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.7522, allocations: 198.9 kB / 0.806 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.7644, allocations: 9.141 MB / 0.8149 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/0.7651, allocations: 1.153 MB / 0.816 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000291/0.7654, allocations: 88.77 kB / 0.8161 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/0.7659, allocations: 407.3 kB / 0.8165 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of SimCode: time 7.52e-07/0.7659, allocations: 0 / 0.8165 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0483/0.8142, allocations: 20.88 MB / 0.8369 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.464/10.28, allocations: 4.703 kB / 0.8369 GB, free: 3.852 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)