Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.00114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0013/0.0013, allocations: 193.5 kB / 16.14 MB, free: 6.656 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.335/1.335, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 66.77 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2966, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1564/0.4531, allocations: 154.5 MB / 1.218 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02388/0.477, allocations: 21.61 MB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.4786, allocations: 51.69 kB / 1.24 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.4803, allocations: 1.126 MB / 1.241 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.4818, allocations: 0.806 MB / 1.241 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.4829, allocations: 390 kB / 1.242 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.4845, allocations: 1.36 MB / 1.243 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008551/0.4853, allocations: 0.5928 MB / 1.244 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008584/0.4862, allocations: 0.5021 MB / 1.244 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.4874, allocations: 0.9098 MB / 1.245 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.4875, allocations: 36 kB / 1.245 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.4878, allocations: 83.98 kB / 1.245 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.4881, allocations: 308.7 kB / 1.245 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004827/0.4886, allocations: 456.8 kB / 1.246 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.4897, allocations: 1.156 MB / 1.247 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4897, allocations: 7.938 kB / 1.247 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.91e-07/0.4897, allocations: 0 / 1.247 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.081e-05/0.4897, allocations: 0 / 1.247 GB, free: 2.402 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.00248/0.4922, allocations: 1.467 MB / 1.248 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4923, allocations: 12.03 kB / 1.248 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.4925, allocations: 135.2 kB / 1.249 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008672/0.4934, allocations: 0.6589 MB / 1.249 GB, free: 24 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4836/0.977, allocations: 72.28 kB / 1.249 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.9772, allocations: 46.5 kB / 1.249 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.9785, allocations: 0.5187 MB / 1.25 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.9785, allocations: 0.75 kB / 1.25 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.9786, allocations: 17.64 kB / 1.25 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.9786, allocations: 11.06 kB / 1.25 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.9796, allocations: 416.6 kB / 1.25 GB, free: 187.6 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.004027/0.9837, allocations: 2.741 MB / 1.253 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.9847, allocations: 439 kB / 1.253 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006734/0.9854, allocations: 305 kB / 1.254 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.9855, allocations: 6.219 kB / 1.254 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005663/0.9861, allocations: 287.5 kB / 1.254 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.574e-06/0.9861, allocations: 3.031 kB / 1.254 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002925/0.989, allocations: 1.149 MB / 1.255 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.9891, allocations: 56.66 kB / 1.255 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.9913, allocations: 1.763 MB / 1.257 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.9913, allocations: 36.08 kB / 1.257 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.9917, allocations: 0.5304 MB / 1.257 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.941e-05/0.9918, allocations: 144.6 kB / 1.258 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.9919, allocations: 95.78 kB / 1.258 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.607e-05/0.992, allocations: 332.5 kB / 1.258 GB, free: 185 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.9924, allocations: 213.2 kB / 1.258 GB, free: 185 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004876/0.9929, allocations: 339.7 kB / 1.259 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008023/0.9937, allocations: 0.516 MB / 1.259 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.9938, allocations: 0 / 1.259 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00138/0.9951, allocations: 0.8054 MB / 1.26 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.9952, allocations: 10.81 kB / 1.26 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.9952, allocations: 9.375 kB / 1.26 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004048/0.9956, allocations: 134.1 kB / 1.26 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.996, allocations: 99.97 kB / 1.26 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.9983, allocations: 2.377 MB / 1.262 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.9988, allocations: 90.88 kB / 1.262 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.9988, allocations: 20.45 kB / 1.262 GB, free: 182.3 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.0004357/0.9993, allocations: 389.3 kB / 1.263 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.9994, allocations: 116.5 kB / 1.263 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.9996, allocations: 140.3 kB / 1.263 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.9997, allocations: 5.859 kB / 1.263 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.9997, allocations: 6.625 kB / 1.263 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.9997, allocations: 6.609 kB / 1.263 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/1.002, allocations: 1.488 MB / 1.265 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.002, allocations: 1.812 kB / 1.265 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/1.002, allocations: 41.22 kB / 1.265 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004062/1.003, allocations: 165 kB / 1.265 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/1.003, allocations: 18.12 kB / 1.265 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002912/1.006, allocations: 3.693 MB / 1.268 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.006, allocations: 3.938 kB / 1.268 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/1.007, allocations: 0.9854 MB / 1.269 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/1.008, allocations: 211.4 kB / 1.27 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/1.008, allocations: 14.98 kB / 1.27 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/1.008, allocations: 39.75 kB / 1.27 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/1.008, allocations: 58.66 kB / 1.27 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/1.008, allocations: 15.41 kB / 1.27 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001716/1.01, allocations: 1.286 MB / 1.271 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.01, allocations: 0 / 1.271 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008913/1.011, allocations: 199.2 kB / 1.271 GB, free: 176.8 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.001122/1.012, allocations: 490.6 kB / 1.272 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001429/1.014, allocations: 0.6687 MB / 1.272 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.014, allocations: 1.312 kB / 1.272 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008253/1.014, allocations: 0.5222 MB / 1.273 GB, free: 176 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/1.016, allocations: 187.8 kB / 1.273 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/1.02, allocations: 2.684 MB / 1.276 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009929/1.021, allocations: 1.149 MB / 1.277 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003661/1.022, allocations: 94 kB / 1.277 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/1.022, allocations: 46.16 kB / 1.277 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.22e-07/1.022, allocations: 3.938 kB / 1.277 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02032/1.042, allocations: 9.421 MB / 1.286 GB, free: 171.6 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)