Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.007634/0.007634, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001915/0.001915, allocations: 194.8 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.597/2.597, allocations: 437.1 MB / 0.7106 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2752, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.6781/0.9534, allocations: 156.7 MB / 1.319 GB, free: 11.4 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02525/0.9787, allocations: 21.76 MB / 1.341 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.9804, allocations: 51.62 kB / 1.341 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.9819, allocations: 1.16 MB / 1.342 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.9831, allocations: 0.8574 MB / 1.343 GB, free: 11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009836/0.9841, allocations: 445.9 kB / 1.343 GB, free: 10.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.9852, allocations: 1.255 MB / 1.344 GB, free: 10.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007204/0.986, allocations: 0.6843 MB / 1.345 GB, free: 9.953 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005653/0.9865, allocations: 0.5573 MB / 1.345 GB, free: 9.758 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008967/0.9874, allocations: 0.9076 MB / 1.346 GB, free: 9.543 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.9876, allocations: 73.22 kB / 1.346 GB, free: 9.535 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.9878, allocations: 108 kB / 1.346 GB, free: 9.523 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.988, allocations: 316.4 kB / 1.347 GB, free: 9.387 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000416/0.9885, allocations: 497.8 kB / 1.347 GB, free: 9.047 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.9895, allocations: 1.203 MB / 1.348 GB, free: 8.562 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.9896, allocations: 3.938 kB / 1.348 GB, free: 8.559 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9896, allocations: 0 / 1.348 GB, free: 8.559 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.9896, allocations: 0 / 1.348 GB, free: 8.559 MB / 1.029 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.002127/0.9917, allocations: 1.528 MB / 1.35 GB, free: 7.492 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.9917, allocations: 9.625 kB / 1.35 GB, free: 7.492 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.948e-05/0.9919, allocations: 83.73 kB / 1.35 GB, free: 7.426 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.992, allocations: 140.8 kB / 1.35 GB, free: 7.352 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007922/0.9928, allocations: 0.6723 MB / 1.351 GB, free: 6.855 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.993, allocations: 82.14 kB / 1.351 GB, free: 6.801 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.36e-05/0.993, allocations: 42.84 kB / 1.351 GB, free: 6.789 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008796/0.9939, allocations: 0.5165 MB / 1.351 GB, free: 6.566 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.994, allocations: 1.094 kB / 1.351 GB, free: 6.566 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.577e-05/0.994, allocations: 19.84 kB / 1.351 GB, free: 6.551 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.994, allocations: 14.28 kB / 1.351 GB, free: 6.547 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007922/0.9948, allocations: 413.5 kB / 1.352 GB, free: 6.422 MB / 1.029 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.003345/0.9982, allocations: 2.797 MB / 1.355 GB, free: 4.383 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009383/0.9991, allocations: 458.1 kB / 1.355 GB, free: 4.215 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/0.9997, allocations: 293.6 kB / 1.355 GB, free: 4.113 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.9997, allocations: 5.484 kB / 1.355 GB, free: 4.113 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005227/1, allocations: 294.9 kB / 1.356 GB, free: 3.992 MB / 1.029 GB Notification: Performance of pre-optimization done (n=45): time 1.954e-06/1, allocations: 0 / 1.356 GB, free: 3.992 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.002809/1.003, allocations: 1.241 MB / 1.357 GB, free: 3.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/1.003, allocations: 66.86 kB / 1.357 GB, free: 3.359 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/1.005, allocations: 1.749 MB / 1.359 GB, free: 2.668 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/1.005, allocations: 38.08 kB / 1.359 GB, free: 2.629 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/1.005, allocations: 0.5237 MB / 1.359 GB, free: 2.172 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/1.006, allocations: 154.5 kB / 1.359 GB, free: 2.039 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/1.006, allocations: 94.25 kB / 1.359 GB, free: 1.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.006, allocations: 327.6 kB / 1.36 GB, free: 1.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/1.006, allocations: 221.7 kB / 1.36 GB, free: 1.555 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/1.007, allocations: 323.6 kB / 1.36 GB, free: 1.328 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008994/1.008, allocations: 0.5174 MB / 1.361 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.008, allocations: 0 / 1.361 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001583/1.009, allocations: 0.8488 MB / 1.361 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.009, allocations: 8 kB / 1.362 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.009, allocations: 2.688 kB / 1.362 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004818/1.01, allocations: 183.1 kB / 1.362 GB, free: 476 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/1.01, allocations: 102.3 kB / 1.362 GB, free: 444 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/1.014, allocations: 2.999 MB / 1.365 GB, free: 13.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/1.014, allocations: 67.33 kB / 1.365 GB, free: 13.94 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/1.014, allocations: 23.45 kB / 1.365 GB, free: 13.93 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004169/1.014, allocations: 384.6 kB / 1.365 GB, free: 13.69 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/1.015, allocations: 132.4 kB / 1.365 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/1.015, allocations: 140.7 kB / 1.365 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.015, allocations: 4.125 kB / 1.365 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.015, allocations: 2.75 kB / 1.365 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/1.015, allocations: 9.344 kB / 1.365 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/1.017, allocations: 1.565 MB / 1.367 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.017, allocations: 4 kB / 1.367 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/1.017, allocations: 44.75 kB / 1.367 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004377/1.018, allocations: 195.4 kB / 1.367 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/1.018, allocations: 16.52 kB / 1.367 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004215/1.022, allocations: 4.548 MB / 1.372 GB, free: 8.289 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.022, allocations: 0 / 1.372 GB, free: 8.289 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/1.024, allocations: 1.071 MB / 1.373 GB, free: 7.652 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/1.024, allocations: 223.8 kB / 1.373 GB, free: 7.453 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.942e-05/1.024, allocations: 18.98 kB / 1.373 GB, free: 7.438 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/1.024, allocations: 26.84 kB / 1.373 GB, free: 7.426 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/1.025, allocations: 54.55 kB / 1.373 GB, free: 7.395 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/1.025, allocations: 14.22 kB / 1.373 GB, free: 7.391 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001176/1.026, allocations: 1.282 MB / 1.374 GB, free: 6.797 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/1.026, allocations: 0 / 1.374 GB, free: 6.797 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006343/1.026, allocations: 207.2 kB / 1.374 GB, free: 6.754 MB / 1.045 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,13,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.00348/1.03, allocations: 1.984 MB / 1.376 GB, free: 5.461 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001323/1.031, allocations: 0.711 MB / 1.377 GB, free: 5.059 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.031, allocations: 0 / 1.377 GB, free: 5.059 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008235/1.032, allocations: 0.5588 MB / 1.378 GB, free: 4.645 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009077/1.033, allocations: 204.7 kB / 1.378 GB, free: 4.535 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/1.044, allocations: 8.619 MB / 1.386 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007181/1.044, allocations: 1.149 MB / 1.387 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002287/1.045, allocations: 95.17 kB / 1.387 GB, free: 14.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/1.045, allocations: 401.5 kB / 1.388 GB, free: 14.33 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/1.045, allocations: 0 / 1.388 GB, free: 14.33 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.374/2.419, allocations: 21.25 MB / 1.409 GB, free: 11.71 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.03/20.45, allocations: 6.016 kB / 1.409 GB, free: 11.7 MB / 1.076 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)