Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.TestCase2,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.001762/0.001762, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00215/0.00215, allocations: 192.8 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.325/2.325, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.608/4.608, allocations: 461.9 MB / 0.7344 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002566/0.002566, allocations: 67.67 kB / 0.8987 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4758/0.4784, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.3222/0.8006, allocations: 154.6 MB / 1.203 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.05112/0.8518, allocations: 21.5 MB / 1.224 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003947/0.8558, allocations: 51.62 kB / 1.224 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003078/0.859, allocations: 1.126 MB / 1.226 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.8621, allocations: 0.8099 MB / 1.226 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.8645, allocations: 394.6 kB / 1.227 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003197/0.8677, allocations: 1.251 MB / 1.228 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002059/0.8698, allocations: 0.6833 MB / 1.229 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.872, allocations: 0.5568 MB / 1.229 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002508/0.8745, allocations: 0.9566 MB / 1.23 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003757/0.8749, allocations: 64 kB / 1.23 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006728/0.8756, allocations: 112 kB / 1.23 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007465/0.8764, allocations: 332.8 kB / 1.231 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.8776, allocations: 0.489 MB / 1.231 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.8801, allocations: 1.176 MB / 1.232 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.8802, allocations: 0 / 1.232 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.355e-06/0.8802, allocations: 0 / 1.232 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.594e-05/0.8803, allocations: 4 kB / 1.232 GB, free: 15.87 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.005099/0.8854, allocations: 1.475 MB / 1.234 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 8.166e-05/0.8855, allocations: 12.62 kB / 1.234 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000258/0.8858, allocations: 86.7 kB / 1.234 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004712/0.8862, allocations: 131.3 kB / 1.234 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.8881, allocations: 0.6625 MB / 1.234 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/0.8884, allocations: 70.69 kB / 1.235 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.8886, allocations: 48 kB / 1.235 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.8905, allocations: 0.5223 MB / 1.235 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/0.8906, allocations: 0 / 1.235 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-05/0.8907, allocations: 16 kB / 1.235 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.8907, allocations: 12 kB / 1.235 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.8923, allocations: 415.7 kB / 1.236 GB, free: 12.3 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.007258/0.8996, allocations: 2.807 MB / 1.238 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.9016, allocations: 452 kB / 1.239 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.9027, allocations: 286.7 kB / 1.239 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.793e-05/0.9028, allocations: 4.656 kB / 1.239 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.904, allocations: 306 kB / 1.239 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 5.27e-06/0.904, allocations: 0 / 1.239 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.00564/0.9097, allocations: 1.237 MB / 1.24 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.9098, allocations: 59.34 kB / 1.241 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004302/0.9142, allocations: 1.752 MB / 1.242 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/0.9144, allocations: 41.7 kB / 1.242 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009699/0.9154, allocations: 0.5179 MB / 1.243 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/0.9158, allocations: 142 kB / 1.243 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004195/0.9162, allocations: 98.23 kB / 1.243 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0003255/0.9166, allocations: 322 kB / 1.243 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009464/0.9175, allocations: 232.9 kB / 1.244 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.9187, allocations: 320.9 kB / 1.244 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/0.9206, allocations: 0.519 MB / 1.244 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.9206, allocations: 3.938 kB / 1.244 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003093/0.9237, allocations: 0.8419 MB / 1.245 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.9238, allocations: 8 kB / 1.245 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.9238, allocations: 128 / 1.245 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009955/0.9248, allocations: 190.2 kB / 1.245 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007082/0.9255, allocations: 95.88 kB / 1.245 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128/2.054, allocations: 2.991 MB / 1.248 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/2.055, allocations: 76.45 kB / 1.248 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/2.055, allocations: 20.48 kB / 1.248 GB, free: 194.6 MB / 0.9981 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.001315/2.056, allocations: 389.4 kB / 1.249 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004657/2.057, allocations: 119.8 kB / 1.249 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006739/2.058, allocations: 145.4 kB / 1.249 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/2.058, allocations: 5.531 kB / 1.249 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.313e-05/2.058, allocations: 4.547 kB / 1.249 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/2.058, allocations: 2.297 kB / 1.249 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005858/2.064, allocations: 1.562 MB / 1.251 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/2.064, allocations: 0 / 1.251 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004834/2.064, allocations: 54.36 kB / 1.251 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009127/2.065, allocations: 193.3 kB / 1.251 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-05/2.065, allocations: 12.89 kB / 1.251 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006834/2.072, allocations: 4.546 MB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/2.072, allocations: 7.688 kB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003454/2.076, allocations: 1.055 MB / 1.256 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006065/2.076, allocations: 216.6 kB / 1.257 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/2.076, allocations: 13.42 kB / 1.257 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/2.077, allocations: 38.28 kB / 1.257 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/2.078, allocations: 57.14 kB / 1.257 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.064e-05/2.078, allocations: 16.12 kB / 1.257 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00295/2.081, allocations: 1.287 MB / 1.258 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.61e-07/2.081, allocations: 0 / 1.258 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001859/2.083, allocations: 212.8 kB / 1.258 GB, free: 190.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,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.006167/2.089, allocations: 1.985 MB / 1.26 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003039/2.092, allocations: 0.7589 MB / 1.261 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/2.092, allocations: 0 / 1.261 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/2.094, allocations: 0.5428 MB / 1.261 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/2.096, allocations: 202.8 kB / 1.262 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03159/2.128, allocations: 9.408 MB / 1.271 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002359/2.13, allocations: 1.158 MB / 1.272 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009625/2.131, allocations: 90.91 kB / 1.272 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/2.132, allocations: 406.2 kB / 1.272 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of SimCode: time 2.785e-06/2.132, allocations: 0 / 1.272 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2293/2.362, allocations: 20.56 MB / 1.292 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003231/2.362, allocations: 284.6 kB / 1.293 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.284/7.646, allocations: 0 / 1.293 GB, free: 177.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)