Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TestCase7,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",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.001252/0.001252, 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.001156/0.001156, allocations: 193.9 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.715/2.715, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 62.72 kB / 0.9087 GB, free: 34.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2663, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1733/0.4396, allocations: 157.9 MB / 1.218 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0294/0.4691, allocations: 22.13 MB / 1.24 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.471, allocations: 63.69 kB / 1.24 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.4729, allocations: 1.379 MB / 1.241 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.4745, allocations: 1.016 MB / 1.242 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.476, allocations: 0.6496 MB / 1.243 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.4776, allocations: 1.681 MB / 1.245 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.4787, allocations: 0.9745 MB / 1.245 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007767/0.4795, allocations: 0.7242 MB / 1.246 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.4808, allocations: 1.191 MB / 1.247 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.481, allocations: 96 kB / 1.247 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/0.4813, allocations: 144 kB / 1.248 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003713/0.4817, allocations: 416.3 kB / 1.248 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005894/0.4823, allocations: 0.6558 MB / 1.249 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4613/0.9436, allocations: 1.557 MB / 1.25 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.9436, allocations: 0 / 1.25 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9436, allocations: 0.9062 kB / 1.25 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.09e-05/0.9437, allocations: 0 / 1.25 GB, free: 10.43 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.00385/0.9476, allocations: 1.921 MB / 1.252 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.9476, allocations: 9.188 kB / 1.252 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.9478, allocations: 110.1 kB / 1.252 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/0.9482, allocations: 182.1 kB / 1.252 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.9492, allocations: 0.8741 MB / 1.253 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.9494, allocations: 89.42 kB / 1.253 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.903e-05/0.9495, allocations: 66.02 kB / 1.253 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.9506, allocations: 0.7189 MB / 1.254 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.9506, allocations: 1 kB / 1.254 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.555e-05/0.9507, allocations: 28.06 kB / 1.254 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.9507, allocations: 17.67 kB / 1.254 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.9517, allocations: 0.5395 MB / 1.255 GB, free: 8.668 MB / 0.9981 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.003706/0.9555, allocations: 3.63 MB / 1.258 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.9566, allocations: 0.6128 MB / 1.259 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000609/0.9572, allocations: 376.3 kB / 1.259 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.9573, allocations: 7.719 kB / 1.259 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006333/0.9579, allocations: 389.2 kB / 1.259 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=65): time 2.194e-06/0.9579, allocations: 0 / 1.259 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65): time 0.004335/0.9623, allocations: 1.776 MB / 1.261 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.9623, allocations: 64.22 kB / 1.261 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/0.9643, allocations: 2.246 MB / 1.263 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.9643, allocations: 43.55 kB / 1.263 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.9647, allocations: 0.7258 MB / 1.264 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.9649, allocations: 210.2 kB / 1.264 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.965, allocations: 132.4 kB / 1.265 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.115e-05/0.9651, allocations: 337.9 kB / 1.265 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005413/0.9656, allocations: 276.6 kB / 1.265 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/0.9662, allocations: 423.1 kB / 1.266 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009766/0.9672, allocations: 0.6575 MB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.9672, allocations: 0.9062 kB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001991/0.9692, allocations: 1.122 MB / 1.267 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.9693, allocations: 9.625 kB / 1.267 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.9693, allocations: 4.375 kB / 1.267 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008055/0.9701, allocations: 276.4 kB / 1.268 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/0.9705, allocations: 118.7 kB / 1.268 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004481/0.975, allocations: 3.699 MB / 1.271 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00059/0.9756, allocations: 93.69 kB / 1.271 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/0.9757, allocations: 30.94 kB / 1.271 GB, free: 3.434 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007248/0.9764, allocations: 468.3 kB / 1.272 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.9766, allocations: 154.2 kB / 1.272 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.9768, allocations: 189.1 kB / 1.272 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.9769, allocations: 7.109 kB / 1.272 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.9769, allocations: 2.062 kB / 1.272 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.9769, allocations: 5.172 kB / 1.272 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/0.9806, allocations: 2.043 MB / 1.274 GB, free: 18.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.9806, allocations: 4.359 kB / 1.274 GB, free: 18.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.9808, allocations: 57.47 kB / 1.274 GB, free: 18.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007067/0.9816, allocations: 282 kB / 1.274 GB, free: 18.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.9816, allocations: 20.58 kB / 1.275 GB, free: 18.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005498/0.9871, allocations: 5.236 MB / 1.28 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9871, allocations: 5.312 kB / 1.28 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/0.9897, allocations: 1.394 MB / 1.281 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.99, allocations: 261.3 kB / 1.281 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.9902, allocations: 17.75 kB / 1.281 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.9905, allocations: 38.91 kB / 1.281 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.9907, allocations: 76.02 kB / 1.281 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.9908, allocations: 21.25 kB / 1.281 GB, free: 15.32 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001806/0.9926, allocations: 1.633 MB / 1.283 GB, free: 15.21 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9926, allocations: 0 / 1.283 GB, free: 15.21 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009058/0.9935, allocations: 272.8 kB / 1.283 GB, free: 15.18 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004094/0.9976, allocations: 2.332 MB / 1.286 GB, free: 14.33 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001929/0.9995, allocations: 0.9645 MB / 1.286 GB, free: 14.17 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9995, allocations: 2.578 kB / 1.286 GB, free: 14.17 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009987/1.001, allocations: 0.674 MB / 1.287 GB, free: 13.92 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/1.002, allocations: 280.7 kB / 1.287 GB, free: 13.89 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/1.017, allocations: 12.03 MB / 1.299 GB, free: 9.574 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008839/1.017, allocations: 1.316 MB / 1.3 GB, free: 8.848 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004296/1.018, allocations: 123 kB / 1.301 GB, free: 8.816 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004296/1.018, allocations: 0.5393 MB / 1.301 GB, free: 8.809 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/1.018, allocations: 3.703 kB / 1.301 GB, free: 8.809 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.982/4.001, allocations: 28.68 MB / 1.329 GB, free: 3.699 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.66/23.66, allocations: 8.359 kB / 1.329 GB, free: 3.695 MB / 1.014 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)