Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",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.001232/0.001232, allocations: 108 kB / 15.61 MB, free: 152 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.001167/0.001167, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.084/2.084, allocations: 390.2 MB / 0.6647 GB, free: 320 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.14 kB / 0.8126 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5142/0.5155, allocations: 140.4 MB / 0.9497 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1484/0.6639, allocations: 157.3 MB / 1.103 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02179/0.6857, allocations: 21.99 MB / 1.125 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.687, allocations: 55.69 kB / 1.125 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002233/0.6893, allocations: 2.151 MB / 1.127 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.6909, allocations: 1.425 MB / 1.128 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.6921, allocations: 0.582 MB / 1.129 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001455/0.6936, allocations: 1.82 MB / 1.131 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.6946, allocations: 1.086 MB / 1.132 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007828/0.6954, allocations: 0.8725 MB / 1.133 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.6968, allocations: 1.542 MB / 1.134 GB, free: 4.469 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.697, allocations: 92 kB / 1.134 GB, free: 4.379 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.6973, allocations: 132 kB / 1.134 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003803/0.6976, allocations: 0.5277 MB / 1.135 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005888/0.6982, allocations: 0.7758 MB / 1.136 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.6996, allocations: 1.818 MB / 1.137 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6997, allocations: 0 / 1.137 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6997, allocations: 0 / 1.137 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.6997, allocations: 0 / 1.137 GB, free: 1.117 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002859/0.7025, allocations: 2.281 MB / 1.14 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.7026, allocations: 12.03 kB / 1.14 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.7027, allocations: 110.7 kB / 1.14 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.703, allocations: 226.1 kB / 1.14 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.7041, allocations: 1.007 MB / 1.141 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.7042, allocations: 83 kB / 1.141 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.371e-05/0.7043, allocations: 67.91 kB / 1.141 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.7055, allocations: 0.7329 MB / 1.142 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.7055, allocations: 0 / 1.142 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.025e-05/0.7056, allocations: 31.98 kB / 1.142 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.7056, allocations: 12 kB / 1.142 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.7067, allocations: 0.5868 MB / 1.142 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004154/0.7109, allocations: 3.525 MB / 1.146 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.7124, allocations: 0.7138 MB / 1.146 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007207/0.7131, allocations: 415.5 kB / 1.147 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.7132, allocations: 8.562 kB / 1.147 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007266/0.7139, allocations: 434.8 kB / 1.147 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=70): time 1.973e-06/0.7139, allocations: 0 / 1.147 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70): time 0.003911/0.7178, allocations: 1.796 MB / 1.149 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.7179, allocations: 67.89 kB / 1.149 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/0.7209, allocations: 3.312 MB / 1.152 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.721, allocations: 41.7 kB / 1.152 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000668/0.7217, allocations: 0.8899 MB / 1.153 GB, free: 252 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.7218, allocations: 217 kB / 1.153 GB, free: 32 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.722, allocations: 134.7 kB / 1.154 GB, free: 15.89 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.7222, allocations: 334 kB / 1.154 GB, free: 15.56 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006256/0.7228, allocations: 305.8 kB / 1.154 GB, free: 15.26 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006899/0.7235, allocations: 442.3 kB / 1.155 GB, free: 14.79 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.7247, allocations: 0.7235 MB / 1.155 GB, free: 14.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.7247, allocations: 0 / 1.155 GB, free: 14.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00209/0.7268, allocations: 1.204 MB / 1.157 GB, free: 12.8 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.7268, allocations: 4 kB / 1.157 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.7269, allocations: 4 kB / 1.157 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006523/0.7275, allocations: 267.5 kB / 1.157 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.728, allocations: 135.8 kB / 1.157 GB, free: 12.4 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004655/0.7326, allocations: 4.757 MB / 1.162 GB, free: 7.367 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.7332, allocations: 95.33 kB / 1.162 GB, free: 7.273 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/0.7332, allocations: 24 kB / 1.162 GB, free: 7.25 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006893/0.7339, allocations: 0.6029 MB / 1.162 GB, free: 6.641 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.7341, allocations: 205.4 kB / 1.162 GB, free: 6.438 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.7344, allocations: 256.5 kB / 1.163 GB, free: 6.184 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/0.7344, allocations: 8 kB / 1.163 GB, free: 6.176 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.7344, allocations: 11.94 kB / 1.163 GB, free: 6.164 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.7345, allocations: 7.922 kB / 1.163 GB, free: 6.156 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003346/0.7378, allocations: 2.327 MB / 1.165 GB, free: 3.762 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.7378, allocations: 4 kB / 1.165 GB, free: 3.758 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.7381, allocations: 67.91 kB / 1.165 GB, free: 3.691 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000569/0.7387, allocations: 247.6 kB / 1.165 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.7388, allocations: 23.98 kB / 1.165 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004519/0.7433, allocations: 4.752 MB / 1.17 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7433, allocations: 7.875 kB / 1.17 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/0.7458, allocations: 1.575 MB / 1.172 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003371/0.7462, allocations: 306.4 kB / 1.172 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.7463, allocations: 31.92 kB / 1.172 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.7467, allocations: 35.91 kB / 1.172 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.7469, allocations: 72.45 kB / 1.172 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.827e-05/0.7469, allocations: 23.98 kB / 1.172 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002313/0.7492, allocations: 2.423 MB / 1.174 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7493, allocations: 0 / 1.174 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007692/0.75, allocations: 296.3 kB / 1.175 GB, free: 9.57 MB / 0.9356 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.003771/0.7538, allocations: 2.521 MB / 1.177 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002082/0.7559, allocations: 1.14 MB / 1.178 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7559, allocations: 4 kB / 1.178 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009975/0.7569, allocations: 0.694 MB / 1.179 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.7581, allocations: 285.1 kB / 1.179 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/0.7757, allocations: 15.51 MB / 1.194 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.7768, allocations: 1.544 MB / 1.196 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003955/0.7772, allocations: 154.3 kB / 1.196 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006478/0.7778, allocations: 0.7101 MB / 1.197 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of SimCode: time 5.31e-07/0.7778, allocations: 0 / 1.197 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06158/0.8394, allocations: 32.35 MB / 1.228 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.115/9.955, allocations: 15.67 kB / 1.228 GB, free: 1.906 MB / 0.9825 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)