Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008684/0.0008684, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008227/0.0008227, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9358/0.9358, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.718/1.718, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.929e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.5723/0.5723, allocations: 138.4 MB / 1.086 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0146/0.5869, allocations: 19.71 MB / 1.105 GB, free: 35.57 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.5891, allocations: 70.38 kB / 1.105 GB, free: 35.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.591, allocations: 1.183 MB / 1.106 GB, free: 35.37 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.5927, allocations: 0.9316 MB / 1.107 GB, free: 35.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009768/0.5936, allocations: 384.4 kB / 1.107 GB, free: 35.01 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.5951, allocations: 1.312 MB / 1.109 GB, free: 34.55 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007198/0.5959, allocations: 0.5379 MB / 1.109 GB, free: 34.36 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008703/0.5967, allocations: 0.7207 MB / 1.11 GB, free: 34.15 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.5977, allocations: 0.9356 MB / 1.111 GB, free: 34.04 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.5978, allocations: 66.84 kB / 1.111 GB, free: 34.04 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.5981, allocations: 113.4 kB / 1.111 GB, free: 34.03 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.5983, allocations: 335.3 kB / 1.111 GB, free: 33.87 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.5986, allocations: 282.4 kB / 1.112 GB, free: 33.75 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.5997, allocations: 1.197 MB / 1.113 GB, free: 33.36 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.5997, allocations: 0 / 1.113 GB, free: 33.36 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5997, allocations: 0 / 1.113 GB, free: 33.36 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.094e-05/0.5998, allocations: 1.438 kB / 1.113 GB, free: 33.36 MB / 0.9948 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.0018/0.6016, allocations: 1.486 MB / 1.114 GB, free: 32.37 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.6016, allocations: 14.22 kB / 1.114 GB, free: 32.36 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.708e-05/0.6017, allocations: 84.44 kB / 1.114 GB, free: 32.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.6018, allocations: 145.2 kB / 1.114 GB, free: 32.22 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.6025, allocations: 0.6057 MB / 1.115 GB, free: 31.82 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.6026, allocations: 100.1 kB / 1.115 GB, free: 31.73 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.6027, allocations: 42.59 kB / 1.115 GB, free: 31.72 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/0.6033, allocations: 0.5293 MB / 1.116 GB, free: 31.49 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.6034, allocations: 1.156 kB / 1.116 GB, free: 31.49 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.6034, allocations: 18.14 kB / 1.116 GB, free: 31.48 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.6034, allocations: 18.08 kB / 1.116 GB, free: 31.47 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005868/0.604, allocations: 412.9 kB / 1.116 GB, free: 31.34 MB / 0.9948 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.002305/0.6063, allocations: 1.918 MB / 1.118 GB, free: 30.3 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/0.607, allocations: 437.5 kB / 1.118 GB, free: 30.14 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.6074, allocations: 268.1 kB / 1.119 GB, free: 30.05 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.6074, allocations: 4.969 kB / 1.119 GB, free: 30.05 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003898/0.6078, allocations: 310 kB / 1.119 GB, free: 29.93 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=45): time 2.655e-06/0.6078, allocations: 0 / 1.119 GB, free: 29.93 MB / 0.9948 GB Notification: Performance of matching and sorting (n=45): time 0.00184/0.6096, allocations: 1.109 MB / 1.12 GB, free: 29.54 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.6097, allocations: 59.61 kB / 1.12 GB, free: 29.48 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.6112, allocations: 1.782 MB / 1.122 GB, free: 28.9 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.6112, allocations: 37.41 kB / 1.122 GB, free: 28.86 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.6115, allocations: 0.5227 MB / 1.122 GB, free: 28.45 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.514e-05/0.6115, allocations: 155.1 kB / 1.122 GB, free: 28.34 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.6117, allocations: 98.06 kB / 1.123 GB, free: 28.28 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.902e-05/0.6117, allocations: 326.8 kB / 1.123 GB, free: 27.97 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.612, allocations: 227.7 kB / 1.123 GB, free: 27.9 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.6124, allocations: 327.1 kB / 1.123 GB, free: 27.71 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006148/0.613, allocations: 0.5127 MB / 1.124 GB, free: 27.44 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.613, allocations: 0.8125 kB / 1.124 GB, free: 27.44 MB / 0.9948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001178/0.6142, allocations: 0.8604 MB / 1.125 GB, free: 27.09 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.6142, allocations: 9.359 kB / 1.125 GB, free: 27.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.6142, allocations: 3.156 kB / 1.125 GB, free: 27.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004062/0.6146, allocations: 181.9 kB / 1.125 GB, free: 27.04 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.6148, allocations: 96.92 kB / 1.125 GB, free: 27.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.6172, allocations: 2.863 MB / 1.128 GB, free: 24.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.6175, allocations: 70.83 kB / 1.128 GB, free: 24.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.6175, allocations: 20.58 kB / 1.128 GB, free: 24.9 MB / 0.9948 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,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * 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.0004927/0.618, allocations: 393.7 kB / 1.128 GB, free: 24.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-05/0.6181, allocations: 125 kB / 1.128 GB, free: 24.63 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.6192, allocations: 0.7809 MB / 1.129 GB, free: 24.31 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.6192, allocations: 4.969 kB / 1.129 GB, free: 24.31 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6192, allocations: 6 kB / 1.129 GB, free: 24.31 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.6192, allocations: 2.766 kB / 1.129 GB, free: 24.31 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.6211, allocations: 1.507 MB / 1.131 GB, free: 23.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6211, allocations: 0.75 kB / 1.131 GB, free: 23.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.6212, allocations: 47.75 kB / 1.131 GB, free: 23.59 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003337/0.6216, allocations: 192.9 kB / 1.131 GB, free: 23.53 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.6216, allocations: 15.44 kB / 1.131 GB, free: 23.52 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/0.6241, allocations: 4.303 MB / 1.135 GB, free: 20 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6242, allocations: 1.25 kB / 1.135 GB, free: 20 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.6255, allocations: 1.089 MB / 1.136 GB, free: 19.49 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.6257, allocations: 151.4 kB / 1.136 GB, free: 19.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.6258, allocations: 18.45 kB / 1.136 GB, free: 19.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.626, allocations: 26.45 kB / 1.136 GB, free: 19.38 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.6261, allocations: 58.39 kB / 1.136 GB, free: 19.37 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.6261, allocations: 13.16 kB / 1.136 GB, free: 19.37 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001312/0.6274, allocations: 1.306 MB / 1.138 GB, free: 18.92 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.6274, allocations: 0 / 1.138 GB, free: 18.92 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008157/0.6283, allocations: 207.4 kB / 1.138 GB, free: 18.88 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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 (30): * Single equations (assignments): 22 * 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.002282/0.6305, allocations: 2.055 MB / 1.14 GB, free: 17.72 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.6317, allocations: 0.7035 MB / 1.141 GB, free: 17.41 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6317, allocations: 2.031 kB / 1.141 GB, free: 17.41 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006137/0.6323, allocations: 0.546 MB / 1.141 GB, free: 17.07 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000752/0.6331, allocations: 203.9 kB / 1.141 GB, free: 16.98 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.6434, allocations: 8.636 MB / 1.15 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.6439, allocations: 0.5669 MB / 1.15 GB, free: 12.99 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003/0.6442, allocations: 96.83 kB / 1.15 GB, free: 12.96 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.6445, allocations: 409.6 kB / 1.151 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of SimCode: time 1.253e-06/0.6445, allocations: 4 kB / 1.151 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04722/0.6918, allocations: 23.15 MB / 1.173 GB, free: 6.676 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.738, allocations: 8.031 kB / 1.173 GB, free: 6.672 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 12.98630091547966] Failed to read output from testmodel.py, exit status != 0: 8.854314310476184 8.861633591 8.260061693 Calling exit ...