Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,fileNamePrefix="Buildings_10_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.005148/0.005148, allocations: 100.9 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.277/2.277, allocations: 437.1 MB / 0.7106 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 67.88 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6287/0.6305, allocations: 151.6 MB / 1.166 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.1763/0.8069, allocations: 158.3 MB / 1.321 GB, free: 4.988 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02707/0.834, allocations: 22.23 MB / 1.342 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.8357, allocations: 67.62 kB / 1.343 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002527/0.8383, allocations: 1.968 MB / 1.344 GB, free: 12.64 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.8405, allocations: 1.331 MB / 1.346 GB, free: 11.3 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.842, allocations: 0.6891 MB / 1.346 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002056/0.8441, allocations: 1.962 MB / 1.348 GB, free: 8.66 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.8454, allocations: 1.148 MB / 1.349 GB, free: 7.48 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009521/0.8464, allocations: 0.8879 MB / 1.35 GB, free: 6.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.8479, allocations: 1.445 MB / 1.352 GB, free: 5.141 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.8481, allocations: 111.9 kB / 1.352 GB, free: 5.031 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.8485, allocations: 156 kB / 1.352 GB, free: 4.879 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004518/0.8489, allocations: 0.5234 MB / 1.353 GB, free: 4.355 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006949/0.8496, allocations: 0.8224 MB / 1.353 GB, free: 3.527 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.8516, allocations: 1.982 MB / 1.355 GB, free: 1.539 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.8516, allocations: 3.938 kB / 1.355 GB, free: 1.535 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8517, allocations: 0 / 1.355 GB, free: 1.535 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.8517, allocations: 3.938 kB / 1.355 GB, free: 1.531 MB / 1.076 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.00345/0.8551, allocations: 2.466 MB / 1.358 GB, free: 15 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.8552, allocations: 8.922 kB / 1.358 GB, free: 15 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.8553, allocations: 131 kB / 1.358 GB, free: 14.86 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003227/0.8557, allocations: 259.2 kB / 1.358 GB, free: 14.61 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.8571, allocations: 1.076 MB / 1.359 GB, free: 13.46 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.8572, allocations: 95.69 kB / 1.359 GB, free: 13.36 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.8574, allocations: 91.97 kB / 1.359 GB, free: 13.27 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.8589, allocations: 0.8612 MB / 1.36 GB, free: 12.38 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.8589, allocations: 3.953 kB / 1.36 GB, free: 12.38 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-05/0.859, allocations: 32 kB / 1.36 GB, free: 12.35 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.859, allocations: 24 kB / 1.36 GB, free: 12.32 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.8605, allocations: 0.6518 MB / 1.361 GB, free: 11.67 MB / 1.092 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.005239/0.8657, allocations: 4.155 MB / 1.365 GB, free: 7.211 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.8672, allocations: 0.7158 MB / 1.366 GB, free: 6.488 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007815/0.868, allocations: 419.2 kB / 1.366 GB, free: 6.078 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-05/0.8681, allocations: 8.656 kB / 1.366 GB, free: 6.07 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008504/0.8689, allocations: 440.1 kB / 1.366 GB, free: 5.629 MB / 1.092 GB Notification: Performance of pre-optimization done (n=79): time 2.044e-06/0.8689, allocations: 0 / 1.366 GB, free: 5.629 MB / 1.092 GB Notification: Performance of matching and sorting (n=79): time 0.005956/0.8749, allocations: 2.112 MB / 1.368 GB, free: 3.465 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.875, allocations: 93.7 kB / 1.369 GB, free: 3.355 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00334/0.8783, allocations: 3.196 MB / 1.372 GB, free: 136 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.986e-05/0.8784, allocations: 53.69 kB / 1.372 GB, free: 76 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008617/0.8793, allocations: 0.9683 MB / 1.373 GB, free: 15.1 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.8795, allocations: 265.8 kB / 1.373 GB, free: 14.84 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.8797, allocations: 150.7 kB / 1.373 GB, free: 14.68 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.8799, allocations: 345.9 kB / 1.373 GB, free: 14.34 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006927/0.8806, allocations: 305.8 kB / 1.374 GB, free: 14.04 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000819/0.8814, allocations: 461.4 kB / 1.374 GB, free: 13.54 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.8828, allocations: 0.746 MB / 1.375 GB, free: 12.74 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8828, allocations: 0 / 1.375 GB, free: 12.74 MB / 1.107 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00237/0.8852, allocations: 1.255 MB / 1.376 GB, free: 11.48 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.8852, allocations: 8 kB / 1.376 GB, free: 11.47 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.8852, allocations: 4 kB / 1.376 GB, free: 11.46 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009252/0.8861, allocations: 327.6 kB / 1.376 GB, free: 11.14 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004474/0.8866, allocations: 127.8 kB / 1.377 GB, free: 11.02 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006038/0.8926, allocations: 4.064 MB / 1.381 GB, free: 6.816 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.8932, allocations: 115.3 kB / 1.381 GB, free: 6.703 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/0.8933, allocations: 32 kB / 1.381 GB, free: 6.672 MB / 1.107 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.0007252/0.894, allocations: 0.5873 MB / 1.381 GB, free: 6.078 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.8942, allocations: 218.5 kB / 1.381 GB, free: 5.863 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.8946, allocations: 249.5 kB / 1.382 GB, free: 5.617 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.8946, allocations: 11.94 kB / 1.382 GB, free: 5.605 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.8946, allocations: 7.984 kB / 1.382 GB, free: 5.598 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.8946, allocations: 0 / 1.382 GB, free: 5.598 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003841/0.8984, allocations: 2.409 MB / 1.384 GB, free: 3.125 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.8984, allocations: 3.938 kB / 1.384 GB, free: 3.121 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.8987, allocations: 67.89 kB / 1.384 GB, free: 3.055 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008725/0.8996, allocations: 341.4 kB / 1.384 GB, free: 2.715 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.205e-05/0.8997, allocations: 23.98 kB / 1.384 GB, free: 2.691 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007171/0.9069, allocations: 5.538 MB / 1.39 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.9069, allocations: 11.97 kB / 1.39 GB, free: 12.86 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002828/0.9097, allocations: 1.582 MB / 1.391 GB, free: 11.26 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/0.9101, allocations: 319.6 kB / 1.392 GB, free: 10.93 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.9103, allocations: 27.92 kB / 1.392 GB, free: 10.9 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/0.9107, allocations: 47.89 kB / 1.392 GB, free: 10.85 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.9109, allocations: 88.53 kB / 1.392 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/0.911, allocations: 31.98 kB / 1.392 GB, free: 10.73 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00251/0.9135, allocations: 2.337 MB / 1.394 GB, free: 8.383 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9135, allocations: 0 / 1.394 GB, free: 8.383 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000828/0.9144, allocations: 323.5 kB / 1.395 GB, free: 8.066 MB / 1.123 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.004714/0.9191, allocations: 2.534 MB / 1.397 GB, free: 5.684 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002007/0.9211, allocations: 1.035 MB / 1.398 GB, free: 4.637 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9211, allocations: 0 / 1.398 GB, free: 4.637 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.9225, allocations: 0.7853 MB / 1.399 GB, free: 3.824 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.9238, allocations: 300.1 kB / 1.399 GB, free: 3.535 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01908/0.9429, allocations: 13.91 MB / 1.413 GB, free: 5.352 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.9441, allocations: 1.532 MB / 1.414 GB, free: 3.789 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003554/0.9445, allocations: 135.2 kB / 1.414 GB, free: 3.652 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008331/0.9453, allocations: 0.7688 MB / 1.415 GB, free: 2.883 MB / 1.139 GB Notification: Performance of SimCode: time 4.11e-07/0.9453, allocations: 0 / 1.415 GB, free: 2.883 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6878/1.633, allocations: 35.98 MB / 1.45 GB, free: 15.16 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.04/17.67, allocations: 13.95 kB / 1.45 GB, free: 15.15 MB / 1.186 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-07 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)