Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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.TestCase11,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",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.001295/0.001295, allocations: 108.6 kB / 15.73 MB, free: 76 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.001254/0.001254, allocations: 190.4 kB / 16.66 MB, free: 6.59 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.606/2.606, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 59.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2918, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.7911/1.083, allocations: 158.3 MB / 1.375 GB, free: 9.453 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03058/1.114, allocations: 22.24 MB / 1.396 GB, free: 7.887 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002788/1.116, allocations: 67.69 kB / 1.397 GB, free: 7.863 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003049/1.119, allocations: 1.981 MB / 1.398 GB, free: 6.848 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00327/1.123, allocations: 1.327 MB / 1.4 GB, free: 6.062 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/1.125, allocations: 0.6893 MB / 1.4 GB, free: 5.52 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003662/1.129, allocations: 1.958 MB / 1.402 GB, free: 4.422 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/1.13, allocations: 1.149 MB / 1.403 GB, free: 3.676 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/1.132, allocations: 0.8881 MB / 1.404 GB, free: 3.195 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/1.134, allocations: 1.445 MB / 1.406 GB, free: 2.523 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001844/1.134, allocations: 105.9 kB / 1.406 GB, free: 2.523 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/1.134, allocations: 152.1 kB / 1.406 GB, free: 2.508 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004509/1.135, allocations: 0.5267 MB / 1.407 GB, free: 2.16 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007682/1.135, allocations: 0.815 MB / 1.407 GB, free: 1.535 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002252/1.138, allocations: 1.994 MB / 1.409 GB, free: 136 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.138, allocations: 0 / 1.409 GB, free: 136 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.144e-06/1.138, allocations: 1.562 kB / 1.409 GB, free: 136 kB / 1.092 GB Notification: Performance of Transformations before backend: time 2.836e-05/1.138, allocations: 0 / 1.409 GB, free: 136 kB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003676/1.141, allocations: 2.461 MB / 1.412 GB, free: 14.25 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/1.141, allocations: 7.969 kB / 1.412 GB, free: 14.25 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/1.142, allocations: 126.3 kB / 1.412 GB, free: 14.15 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003537/1.142, allocations: 254.9 kB / 1.412 GB, free: 14.01 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/1.143, allocations: 1.081 MB / 1.413 GB, free: 13.14 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/1.144, allocations: 104.5 kB / 1.413 GB, free: 13.07 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/1.144, allocations: 87.92 kB / 1.413 GB, free: 13.04 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/1.145, allocations: 0.8608 MB / 1.414 GB, free: 12.5 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/1.145, allocations: 5.719 kB / 1.414 GB, free: 12.5 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/1.145, allocations: 31.16 kB / 1.414 GB, free: 12.47 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/1.145, allocations: 19.59 kB / 1.414 GB, free: 12.47 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/1.147, allocations: 0.6485 MB / 1.415 GB, free: 12.16 MB / 1.107 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.005859/1.153, allocations: 4.164 MB / 1.419 GB, free: 8.648 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/1.154, allocations: 0.7092 MB / 1.42 GB, free: 8.281 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007815/1.155, allocations: 420.3 kB / 1.42 GB, free: 8.074 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 5.392e-05/1.155, allocations: 12.45 kB / 1.42 GB, free: 8.07 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008109/1.156, allocations: 436.5 kB / 1.42 GB, free: 7.805 MB / 1.107 GB Notification: Performance of pre-optimization done (n=79): time 3.326e-06/1.156, allocations: 0 / 1.42 GB, free: 7.805 MB / 1.107 GB Notification: Performance of matching and sorting (n=79): time 0.006431/1.162, allocations: 2.127 MB / 1.422 GB, free: 5.715 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/1.162, allocations: 85.77 kB / 1.423 GB, free: 5.613 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003998/1.166, allocations: 3.204 MB / 1.426 GB, free: 2.383 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/1.167, allocations: 49.69 kB / 1.426 GB, free: 2.328 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00099/1.168, allocations: 0.9645 MB / 1.427 GB, free: 1.355 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/1.168, allocations: 261.8 kB / 1.427 GB, free: 1.098 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/1.168, allocations: 150.7 kB / 1.427 GB, free: 0.9453 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.168, allocations: 341.9 kB / 1.427 GB, free: 0.6055 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007275/1.169, allocations: 317.8 kB / 1.428 GB, free: 300 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008348/1.17, allocations: 473.1 kB / 1.428 GB, free: 15.79 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/1.171, allocations: 0.7343 MB / 1.429 GB, free: 15 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/1.171, allocations: 4 kB / 1.429 GB, free: 15 MB / 1.123 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002564/1.174, allocations: 1.247 MB / 1.43 GB, free: 13.74 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.174, allocations: 8 kB / 1.43 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/1.174, allocations: 4 kB / 1.43 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009911/1.175, allocations: 323.9 kB / 1.43 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/1.175, allocations: 135.8 kB / 1.431 GB, free: 13.28 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006491/1.182, allocations: 4.057 MB / 1.434 GB, free: 9.086 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008639/1.183, allocations: 111.4 kB / 1.435 GB, free: 8.977 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.008e-05/1.183, allocations: 32 kB / 1.435 GB, free: 8.945 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 34 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.setTemp.nextTimeEvent,$whenCondition4,$whenCondition2,cha.u,$PRE.cha.u,thr.y,timer.entryTime,$PRE.timer.entryTime,not1.y,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,hysteresis.y,$PRE.hysteresis.y,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,$whenCondition1,$whenCondition3,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001053/1.184, allocations: 0.5911 MB / 1.435 GB, free: 8.344 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/1.184, allocations: 214.5 kB / 1.435 GB, free: 8.133 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/1.185, allocations: 261.5 kB / 1.436 GB, free: 7.871 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.185, allocations: 8 kB / 1.436 GB, free: 7.863 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.185, allocations: 0 / 1.436 GB, free: 7.863 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/1.185, allocations: 3.984 kB / 1.436 GB, free: 7.859 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004148/1.189, allocations: 2.405 MB / 1.438 GB, free: 5.387 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.189, allocations: 0 / 1.438 GB, free: 5.387 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/1.189, allocations: 75.89 kB / 1.438 GB, free: 5.312 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009323/1.19, allocations: 337.4 kB / 1.438 GB, free: 4.977 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/1.19, allocations: 23.98 kB / 1.438 GB, free: 4.953 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007316/1.197, allocations: 5.543 MB / 1.444 GB, free: 15.14 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.198, allocations: 7.938 kB / 1.444 GB, free: 15.13 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/1.201, allocations: 1.585 MB / 1.445 GB, free: 13.52 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/1.201, allocations: 327.5 kB / 1.446 GB, free: 13.18 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/1.201, allocations: 27.86 kB / 1.446 GB, free: 13.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004749/1.202, allocations: 47.95 kB / 1.446 GB, free: 13.11 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/1.202, allocations: 96.52 kB / 1.446 GB, free: 13.01 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/1.202, allocations: 23.98 kB / 1.446 GB, free: 12.99 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00291/1.205, allocations: 2.334 MB / 1.448 GB, free: 10.64 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.6e-07/1.205, allocations: 0 / 1.448 GB, free: 10.64 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00107/1.206, allocations: 323.5 kB / 1.448 GB, free: 10.32 MB / 1.139 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: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,timer.entryTime,thr.y,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {(3,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00511/1.211, allocations: 2.534 MB / 1.451 GB, free: 7.945 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002244/1.213, allocations: 1.038 MB / 1.452 GB, free: 6.895 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.213, allocations: 4 kB / 1.452 GB, free: 6.891 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/1.215, allocations: 0.766 MB / 1.453 GB, free: 6.098 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/1.216, allocations: 305.4 kB / 1.453 GB, free: 5.809 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02195/1.238, allocations: 13.92 MB / 1.467 GB, free: 7.621 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/1.24, allocations: 1.532 MB / 1.468 GB, free: 6.055 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0005185/1.24, allocations: 131.2 kB / 1.468 GB, free: 5.922 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009475/1.241, allocations: 0.7648 MB / 1.469 GB, free: 5.16 MB / 1.154 GB Notification: Performance of SimCode: time 1.173e-06/1.241, allocations: 0 / 1.469 GB, free: 5.16 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/1.35, allocations: 35.96 MB / 1.504 GB, free: 1.574 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.4/16.75, allocations: 15.92 kB / 1.504 GB, free: 1.559 MB / 1.186 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-07 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)