Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.TestCase1,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.001237/0.001241, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001331/0.001331, allocations: 193 kB / 16.14 MB, free: 6.711 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.523/2.523, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 61.27 kB / 0.8985 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2827, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1526/0.4353, allocations: 154.5 MB / 1.203 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02364/0.459, allocations: 21.6 MB / 1.224 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.4611, allocations: 51.69 kB / 1.224 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.463, allocations: 1.134 MB / 1.225 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001796/0.4648, allocations: 0.806 MB / 1.226 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.4661, allocations: 382.2 kB / 1.226 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001665/0.4677, allocations: 1.348 MB / 1.228 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009725/0.4687, allocations: 0.62 MB / 1.228 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008096/0.4695, allocations: 0.4905 MB / 1.229 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.4707, allocations: 0.9098 MB / 1.23 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.4708, allocations: 39.94 kB / 1.23 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.4711, allocations: 83.98 kB / 1.23 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.4715, allocations: 308.7 kB / 1.23 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004808/0.4719, allocations: 468.8 kB / 1.231 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.473, allocations: 1.152 MB / 1.232 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.473, allocations: 0 / 1.232 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.473, allocations: 0 / 1.232 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.208e-05/0.4731, allocations: 0 / 1.232 GB, free: 15.71 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.002468/0.4755, allocations: 1.475 MB / 1.233 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4756, allocations: 11.97 kB / 1.233 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.4757, allocations: 86.7 kB / 1.233 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.4759, allocations: 131.3 kB / 1.233 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008435/0.4768, allocations: 0.6625 MB / 1.234 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.4769, allocations: 74.62 kB / 1.234 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.259e-05/0.477, allocations: 48 kB / 1.234 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009776/0.478, allocations: 0.5184 MB / 1.235 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.478, allocations: 0 / 1.235 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.4781, allocations: 16 kB / 1.235 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.4781, allocations: 15.98 kB / 1.235 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008536/0.4789, allocations: 419.7 kB / 1.235 GB, free: 12.13 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.003455/0.4824, allocations: 2.735 MB / 1.238 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009413/0.4834, allocations: 444 kB / 1.238 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.484, allocations: 297.3 kB / 1.238 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.484, allocations: 12.64 kB / 1.238 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000534/0.4846, allocations: 279.1 kB / 1.239 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 1.934e-06/0.4846, allocations: 0 / 1.239 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002593/0.4872, allocations: 1.144 MB / 1.24 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.4872, allocations: 59.41 kB / 1.24 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.4891, allocations: 1.764 MB / 1.242 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.4891, allocations: 41.7 kB / 1.242 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000407/0.4895, allocations: 0.5211 MB / 1.242 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.4896, allocations: 149.9 kB / 1.242 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.4898, allocations: 94.25 kB / 1.242 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.4899, allocations: 330 kB / 1.243 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004625/0.4904, allocations: 213 kB / 1.243 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/0.4909, allocations: 343.1 kB / 1.243 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008608/0.4918, allocations: 0.5114 MB / 1.244 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.4918, allocations: 4 kB / 1.244 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001484/0.4933, allocations: 0.8056 MB / 1.245 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4933, allocations: 10.03 kB / 1.245 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4934, allocations: 4 kB / 1.245 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003878/0.4938, allocations: 139 kB / 1.245 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.4941, allocations: 103.9 kB / 1.245 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4883/0.9825, allocations: 2.366 MB / 1.247 GB, free: 45.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/0.9831, allocations: 86.97 kB / 1.247 GB, free: 45.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.9831, allocations: 21.08 kB / 1.247 GB, free: 45.03 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005005/0.9836, allocations: 390.8 kB / 1.248 GB, free: 44.92 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.9837, allocations: 118.3 kB / 1.248 GB, free: 44.92 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.984, allocations: 141.5 kB / 1.248 GB, free: 44.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.984, allocations: 4 kB / 1.248 GB, free: 44.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.984, allocations: 5.719 kB / 1.248 GB, free: 44.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.984, allocations: 3.5 kB / 1.248 GB, free: 44.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.9862, allocations: 1.493 MB / 1.249 GB, free: 44.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.9862, allocations: 0.875 kB / 1.249 GB, free: 44.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.9864, allocations: 46.14 kB / 1.249 GB, free: 44.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003824/0.9868, allocations: 167.6 kB / 1.25 GB, free: 44.56 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.9869, allocations: 10.47 kB / 1.25 GB, free: 44.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.9895, allocations: 3.692 MB / 1.253 GB, free: 42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9895, allocations: 9.094 kB / 1.253 GB, free: 41.99 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.9909, allocations: 0.9753 MB / 1.254 GB, free: 41.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.9911, allocations: 216.7 kB / 1.254 GB, free: 41.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.791e-05/0.9912, allocations: 13 kB / 1.254 GB, free: 41.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.9915, allocations: 33.92 kB / 1.254 GB, free: 41.64 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.9917, allocations: 58.23 kB / 1.254 GB, free: 41.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.9917, allocations: 14.88 kB / 1.254 GB, free: 41.64 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00105/0.9928, allocations: 1.287 MB / 1.256 GB, free: 41.53 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.31e-07/0.9928, allocations: 6.531 kB / 1.256 GB, free: 41.53 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006755/0.9935, allocations: 202.1 kB / 1.256 GB, free: 41.52 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,12,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.002472/0.9959, allocations: 1.907 MB / 1.258 GB, free: 40.71 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.9971, allocations: 0.6606 MB / 1.258 GB, free: 40.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9971, allocations: 0 / 1.258 GB, free: 40.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006668/0.9978, allocations: 0.5323 MB / 1.259 GB, free: 40.35 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009366/0.9987, allocations: 187 kB / 1.259 GB, free: 40.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.01, allocations: 9.332 MB / 1.268 GB, free: 36.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008022/1.011, allocations: 1.154 MB / 1.269 GB, free: 36 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003786/1.011, allocations: 95.28 kB / 1.269 GB, free: 35.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/1.012, allocations: 402.2 kB / 1.27 GB, free: 35.98 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/1.012, allocations: 0 / 1.27 GB, free: 35.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03669/1.048, allocations: 19.75 MB / 1.289 GB, free: 34.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/1.049, allocations: 284.9 kB / 1.289 GB, free: 33.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/3.205, allocations: 0 / 1.289 GB, free: 33.96 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)