Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.TestCase2,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_11_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.002249/0.002249, 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.002155/0.002155, allocations: 191.3 kB / 16.25 MB, free: 6.645 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.246/1.246, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.471/2.471, allocations: 469.8 MB / 0.7421 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 69.78 kB / 0.9082 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2395, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1496/0.3892, allocations: 154.6 MB / 1.215 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02238/0.4116, allocations: 21.5 MB / 1.236 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.4128, allocations: 47.69 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.4143, allocations: 1.134 MB / 1.237 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.4156, allocations: 0.8099 MB / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009324/0.4165, allocations: 387.5 kB / 1.238 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.4179, allocations: 1.251 MB / 1.239 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008389/0.4187, allocations: 0.6872 MB / 1.24 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006419/0.4194, allocations: 0.5607 MB / 1.24 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009082/0.4203, allocations: 0.9489 MB / 1.241 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.254e-05/0.4204, allocations: 71.94 kB / 1.241 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.4206, allocations: 108 kB / 1.241 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.4209, allocations: 340.7 kB / 1.242 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003926/0.4213, allocations: 488.8 kB / 1.242 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009927/0.4223, allocations: 1.183 MB / 1.243 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4223, allocations: 3.984 kB / 1.243 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.183e-06/0.4223, allocations: 0 / 1.243 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.4223, allocations: 0 / 1.243 GB, free: 5.727 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.002003/0.4243, allocations: 1.475 MB / 1.245 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.4244, allocations: 8.031 kB / 1.245 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.728e-05/0.4245, allocations: 90.64 kB / 1.245 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.4246, allocations: 139.2 kB / 1.245 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007449/0.4254, allocations: 0.651 MB / 1.246 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.4255, allocations: 78.67 kB / 1.246 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-05/0.4256, allocations: 47.98 kB / 1.246 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008746/0.4265, allocations: 0.5223 MB / 1.246 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.4265, allocations: 4 kB / 1.246 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.4265, allocations: 16 kB / 1.246 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.4266, allocations: 8 kB / 1.246 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007601/0.4273, allocations: 419.7 kB / 1.247 GB, free: 2.152 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.379/0.8064, allocations: 2.792 MB / 1.249 GB, free: 189 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009155/0.8073, allocations: 455 kB / 1.25 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004842/0.8078, allocations: 284.7 kB / 1.25 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.8078, allocations: 11.5 kB / 1.25 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005029/0.8084, allocations: 301.6 kB / 1.25 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.575e-06/0.8084, allocations: 0.8125 kB / 1.25 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002543/0.8109, allocations: 1.236 MB / 1.252 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.811, allocations: 61 kB / 1.252 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.8125, allocations: 1.758 MB / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.8125, allocations: 37.11 kB / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.8128, allocations: 0.5151 MB / 1.254 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.002e-05/0.8129, allocations: 153.1 kB / 1.254 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.813, allocations: 94.08 kB / 1.254 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.207e-05/0.813, allocations: 329.4 kB / 1.255 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.8134, allocations: 218.1 kB / 1.255 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.8138, allocations: 331.4 kB / 1.255 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006686/0.8145, allocations: 0.508 MB / 1.256 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8145, allocations: 3.938 kB / 1.256 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00121/0.8157, allocations: 0.84 MB / 1.256 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.8158, allocations: 5.812 kB / 1.256 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.8158, allocations: 2.938 kB / 1.256 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000416/0.8162, allocations: 191.2 kB / 1.257 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.8165, allocations: 98.39 kB / 1.257 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.8189, allocations: 2.998 MB / 1.26 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.8193, allocations: 88.38 kB / 1.26 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.8193, allocations: 17.38 kB / 1.26 GB, free: 185.9 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.0003132/0.8196, allocations: 387.5 kB / 1.26 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-05/0.8197, allocations: 114.7 kB / 1.26 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.8199, allocations: 141.6 kB / 1.26 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.8199, allocations: 5.312 kB / 1.26 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.8199, allocations: 3.281 kB / 1.26 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.8199, allocations: 9.812 kB / 1.26 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.8219, allocations: 1.564 MB / 1.262 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8219, allocations: 0 / 1.262 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.8221, allocations: 48.17 kB / 1.262 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003896/0.8225, allocations: 192.2 kB / 1.262 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.8226, allocations: 15.91 kB / 1.262 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002992/0.8256, allocations: 4.554 MB / 1.267 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8256, allocations: 3.938 kB / 1.267 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.827, allocations: 1.051 MB / 1.268 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.8272, allocations: 220.2 kB / 1.268 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.151e-05/0.8273, allocations: 20.2 kB / 1.268 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.8276, allocations: 32.53 kB / 1.268 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.8277, allocations: 50.14 kB / 1.268 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.8278, allocations: 19.03 kB / 1.268 GB, free: 181 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001241/0.829, allocations: 1.283 MB / 1.269 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.829, allocations: 4 kB / 1.269 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006483/0.8297, allocations: 213.8 kB / 1.269 GB, free: 180.5 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.0031/0.8328, allocations: 1.978 MB / 1.271 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.8341, allocations: 0.7529 MB / 1.272 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8342, allocations: 0 / 1.272 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007345/0.8349, allocations: 0.5529 MB / 1.273 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008628/0.8358, allocations: 201.4 kB / 1.273 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.8463, allocations: 9.406 MB / 1.282 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/0.8469, allocations: 1.154 MB / 1.283 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002573/0.8472, allocations: 90.12 kB / 1.283 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.8475, allocations: 404.6 kB / 1.284 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.8475, allocations: 1.375 kB / 1.284 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.162/2.009, allocations: 20.55 MB / 1.304 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004266/2.01, allocations: 284.2 kB / 1.304 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.705/4.714, allocations: 3.938 kB / 1.304 GB, free: 161.4 MB / 0.9981 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)