Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.008518/0.008518, allocations: 104.9 kB / 15.73 MB, free: 6.043 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.002132/0.002132, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.376/2.376, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 58.12 kB / 0.9504 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2424, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1582/0.4007, allocations: 157 MB / 1.241 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.542/0.9428, allocations: 21.86 MB / 1.262 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.9443, allocations: 55.12 kB / 1.262 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.9463, allocations: 1.342 MB / 1.264 GB, free: 3.141 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.948, allocations: 0.9772 MB / 1.264 GB, free: 3.113 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.9493, allocations: 0.5013 MB / 1.265 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.9509, allocations: 1.436 MB / 1.266 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009775/0.9519, allocations: 0.7826 MB / 1.267 GB, free: 3.043 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009421/0.9528, allocations: 0.6448 MB / 1.268 GB, free: 3.043 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.9542, allocations: 1.103 MB / 1.269 GB, free: 3.043 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.9544, allocations: 71.47 kB / 1.269 GB, free: 3.043 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.9548, allocations: 121.8 kB / 1.269 GB, free: 3.039 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003622/0.9551, allocations: 371.8 kB / 1.269 GB, free: 3.039 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006177/0.9558, allocations: 0.5541 MB / 1.27 GB, free: 3.039 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.9576, allocations: 1.367 MB / 1.271 GB, free: 2.941 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9576, allocations: 0 / 1.271 GB, free: 2.941 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9576, allocations: 1.828 kB / 1.271 GB, free: 2.941 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.693e-05/0.9577, allocations: 3.406 kB / 1.271 GB, free: 2.941 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003142/0.9608, allocations: 1.684 MB / 1.273 GB, free: 1.969 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.9609, allocations: 9.406 kB / 1.273 GB, free: 1.969 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.961, allocations: 91.47 kB / 1.273 GB, free: 1.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.9613, allocations: 160.1 kB / 1.273 GB, free: 1.848 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.9625, allocations: 0.7502 MB / 1.274 GB, free: 1.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.9626, allocations: 79.7 kB / 1.274 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.9627, allocations: 54.86 kB / 1.274 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.9639, allocations: 0.5679 MB / 1.275 GB, free: 1.336 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.9639, allocations: 7.562 kB / 1.275 GB, free: 1.336 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.698e-05/0.964, allocations: 18.67 kB / 1.275 GB, free: 1.336 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.964, allocations: 12.64 kB / 1.275 GB, free: 1.336 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000924/0.9649, allocations: 448.8 kB / 1.275 GB, free: 1.336 MB / 1.014 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.00382/0.9687, allocations: 3.001 MB / 1.278 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.9699, allocations: 0.4906 MB / 1.278 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006848/0.9706, allocations: 313.3 kB / 1.279 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.531e-05/0.9707, allocations: 7.594 kB / 1.279 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006982/0.9714, allocations: 332.6 kB / 1.279 GB, free: 15.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=52): time 2.645e-06/0.9714, allocations: 0 / 1.279 GB, free: 15.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=52): time 0.003285/0.9747, allocations: 1.353 MB / 1.28 GB, free: 15.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.9747, allocations: 59.12 kB / 1.28 GB, free: 15.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002252/0.977, allocations: 2.109 MB / 1.282 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.977, allocations: 41.56 kB / 1.283 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/0.9775, allocations: 0.6271 MB / 1.283 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.9776, allocations: 168.1 kB / 1.283 GB, free: 14.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.9778, allocations: 111.1 kB / 1.283 GB, free: 14.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.9779, allocations: 330.5 kB / 1.284 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005439/0.9785, allocations: 234.7 kB / 1.284 GB, free: 14.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/0.9791, allocations: 348 kB / 1.284 GB, free: 14.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.9801, allocations: 0.5435 MB / 1.285 GB, free: 14.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.9801, allocations: 1.438 kB / 1.285 GB, free: 14.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001772/0.9819, allocations: 0.9204 MB / 1.286 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.9819, allocations: 9.328 kB / 1.286 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.9819, allocations: 2.969 kB / 1.286 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005272/0.9824, allocations: 199.9 kB / 1.286 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.9829, allocations: 104.8 kB / 1.286 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/0.9864, allocations: 3.048 MB / 1.289 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005399/0.987, allocations: 77.41 kB / 1.289 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/0.987, allocations: 26.5 kB / 1.289 GB, free: 12.58 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000642/0.9877, allocations: 439.8 kB / 1.29 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.9879, allocations: 134.1 kB / 1.29 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.9882, allocations: 168.9 kB / 1.29 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.9882, allocations: 7.578 kB / 1.29 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.172e-05/0.9882, allocations: 6.594 kB / 1.29 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.9882, allocations: 4.312 kB / 1.29 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/0.9914, allocations: 1.735 MB / 1.292 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.9914, allocations: 0.7031 kB / 1.292 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.9917, allocations: 50.42 kB / 1.292 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004998/0.9922, allocations: 199 kB / 1.292 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/0.9922, allocations: 15.5 kB / 1.292 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004436/0.9967, allocations: 4.606 MB / 1.296 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.9967, allocations: 5.766 kB / 1.296 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.999, allocations: 1.159 MB / 1.297 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/0.9994, allocations: 242.8 kB / 1.298 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.9995, allocations: 14.36 kB / 1.298 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.9999, allocations: 32.22 kB / 1.298 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/1, allocations: 59.78 kB / 1.298 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/1, allocations: 18.86 kB / 1.298 GB, free: 8.535 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001933/1.002, allocations: 1.547 MB / 1.299 GB, free: 8.426 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.01e-07/1.002, allocations: 0.9062 kB / 1.299 GB, free: 8.426 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009503/1.003, allocations: 225.9 kB / 1.299 GB, free: 8.402 MB / 1.029 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: 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 (34): * Single equations (assignments): 24 * 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): 2 systems {(2,14,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.003429/1.006, allocations: 2.093 MB / 1.302 GB, free: 7.523 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001711/1.008, allocations: 0.7572 MB / 1.302 GB, free: 7.391 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.008, allocations: 0 / 1.302 GB, free: 7.391 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009892/1.009, allocations: 0.5888 MB / 1.303 GB, free: 7.145 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/1.011, allocations: 235.4 kB / 1.303 GB, free: 7.117 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/1.024, allocations: 9.77 MB / 1.313 GB, free: 4.637 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008078/1.025, allocations: 1.243 MB / 1.314 GB, free: 3.926 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003328/1.025, allocations: 96.16 kB / 1.314 GB, free: 3.918 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000535/1.026, allocations: 477.2 kB / 1.314 GB, free: 3.91 MB / 1.029 GB Notification: Performance of SimCode: time 8.42e-07/1.026, allocations: 2.188 kB / 1.314 GB, free: 3.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4248/1.451, allocations: 24.12 MB / 1.338 GB, free: 15.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.83, allocations: 7.453 kB / 1.338 GB, free: 15.23 MB / 1.045 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)