Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.001522/0.001522, 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.001476/0.001476, allocations: 196 kB / 16.53 MB, free: 6.699 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.779/2.779, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002748/0.002748, allocations: 74.98 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3502, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1644/0.5147, allocations: 156.7 MB / 1.217 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02463/0.5393, allocations: 21.75 MB / 1.238 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.5406, allocations: 55.69 kB / 1.238 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.5422, allocations: 1.157 MB / 1.24 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.5434, allocations: 0.8562 MB / 1.24 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008689/0.5443, allocations: 441.9 kB / 1.241 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.5454, allocations: 1.251 MB / 1.242 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007488/0.5462, allocations: 0.6833 MB / 1.243 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005735/0.5467, allocations: 0.5607 MB / 1.243 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009577/0.5477, allocations: 0.9099 MB / 1.244 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.5478, allocations: 64 kB / 1.244 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.548, allocations: 108 kB / 1.244 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002754/0.5483, allocations: 316.8 kB / 1.245 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004226/0.5488, allocations: 496.8 kB / 1.245 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.5498, allocations: 1.183 MB / 1.246 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5498, allocations: 0 / 1.246 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5498, allocations: 0 / 1.246 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.5498, allocations: 7.984 kB / 1.246 GB, free: 2.973 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002101/0.5519, allocations: 1.467 MB / 1.248 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.552, allocations: 11.97 kB / 1.248 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.5521, allocations: 90.7 kB / 1.248 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.5523, allocations: 139.2 kB / 1.248 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007859/0.553, allocations: 0.6548 MB / 1.249 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.5532, allocations: 70.69 kB / 1.249 GB, free: 436 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.16e-05/0.5533, allocations: 55.92 kB / 1.249 GB, free: 380 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4261/0.9794, allocations: 0.5106 MB / 1.249 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.9795, allocations: 2.344 kB / 1.249 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.9795, allocations: 18.81 kB / 1.249 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.9795, allocations: 10.28 kB / 1.249 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008648/0.9804, allocations: 415 kB / 1.25 GB, free: 189.8 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.003041/0.9835, allocations: 2.741 MB / 1.252 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008615/0.9843, allocations: 444.4 kB / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005612/0.9849, allocations: 303.6 kB / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.985, allocations: 7.062 kB / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004624/0.9854, allocations: 287 kB / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.064e-06/0.9854, allocations: 0 / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002246/0.9877, allocations: 1.147 MB / 1.254 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.9877, allocations: 67.08 kB / 1.254 GB, free: 188 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.9892, allocations: 1.763 MB / 1.256 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.9892, allocations: 39.7 kB / 1.256 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.9895, allocations: 0.5225 MB / 1.257 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.262e-05/0.9896, allocations: 147.6 kB / 1.257 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.9897, allocations: 95.81 kB / 1.257 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.9897, allocations: 323.4 kB / 1.257 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.9901, allocations: 223 kB / 1.257 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.9905, allocations: 336.4 kB / 1.258 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006819/0.9912, allocations: 0.5156 MB / 1.258 GB, free: 187 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.9912, allocations: 0 / 1.258 GB, free: 187 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001174/0.9924, allocations: 0.8115 MB / 1.259 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.9924, allocations: 5.281 kB / 1.259 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.9925, allocations: 6.016 kB / 1.259 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003448/0.9928, allocations: 135.3 kB / 1.259 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.9931, allocations: 106 kB / 1.259 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.9952, allocations: 2.603 MB / 1.262 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.9956, allocations: 85.52 kB / 1.262 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.9956, allocations: 21.05 kB / 1.262 GB, free: 185.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003332/0.996, allocations: 390.2 kB / 1.262 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.645e-05/0.996, allocations: 111.8 kB / 1.262 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.9962, allocations: 136.9 kB / 1.263 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.9962, allocations: 5.812 kB / 1.263 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.9962, allocations: 2.625 kB / 1.263 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.9963, allocations: 10.33 kB / 1.263 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.9981, allocations: 1.492 MB / 1.264 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.9982, allocations: 2.812 kB / 1.264 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.9984, allocations: 45.44 kB / 1.264 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003199/0.9987, allocations: 159.6 kB / 1.264 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.9987, allocations: 20.16 kB / 1.264 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/1.001, allocations: 4.024 MB / 1.268 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.001, allocations: 0 / 1.268 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/1.003, allocations: 0.9957 MB / 1.269 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/1.003, allocations: 215.2 kB / 1.269 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.93e-05/1.003, allocations: 15.48 kB / 1.269 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/1.003, allocations: 29.23 kB / 1.269 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/1.003, allocations: 50.55 kB / 1.269 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/1.003, allocations: 17.98 kB / 1.27 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001335/1.005, allocations: 1.286 MB / 1.271 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.005, allocations: 0 / 1.271 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006277/1.005, allocations: 197.7 kB / 1.271 GB, free: 179.7 MB / 0.9981 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,12,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.003053/1.008, allocations: 1.91 MB / 1.273 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001295/1.01, allocations: 0.6991 MB / 1.273 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.01, allocations: 1.594 kB / 1.273 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006833/1.01, allocations: 0.5221 MB / 1.274 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000908/1.011, allocations: 214.4 kB / 1.274 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/1.022, allocations: 9.055 MB / 1.283 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/1.023, allocations: 1.152 MB / 1.284 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003229/1.023, allocations: 108.4 kB / 1.284 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/1.023, allocations: 405.1 kB / 1.285 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/1.023, allocations: 0 / 1.285 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.403/2.426, allocations: 20.47 MB / 1.305 GB, free: 161 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.05/21.48, allocations: 11.73 kB / 1.305 GB, free: 161 MB / 0.9981 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)