Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_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.001175/0.001175, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 196.8 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.112/1.112, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.463/1.463, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 71.47 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.163, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4355/0.5985, allocations: 156.7 MB / 0.9372 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01754/0.6161, allocations: 21.56 MB / 0.9582 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.6177, allocations: 50.19 kB / 0.9583 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.619, allocations: 1.159 MB / 0.9594 GB, free: 4.715 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0009652/0.6199, allocations: 0.8522 MB / 0.9602 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006983/0.6207, allocations: 409.9 kB / 0.9606 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008682/0.6215, allocations: 1.247 MB / 0.9618 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005897/0.6221, allocations: 0.6813 MB / 0.9625 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004763/0.6226, allocations: 0.5511 MB / 0.963 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007842/0.6234, allocations: 0.9098 MB / 0.9639 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.96e-05/0.6235, allocations: 68.66 kB / 0.964 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.6237, allocations: 110.1 kB / 0.9641 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.6239, allocations: 318.7 kB / 0.9644 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.6242, allocations: 489.3 kB / 0.9649 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008334/0.6251, allocations: 1.198 MB / 0.966 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6251, allocations: 0 / 0.966 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6251, allocations: 1.094 kB / 0.966 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.6251, allocations: 0 / 0.966 GB, free: 3.793 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001862/0.627, allocations: 1.47 MB / 0.9675 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.627, allocations: 9.125 kB / 0.9675 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.6271, allocations: 131.4 kB / 0.9676 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006364/0.6278, allocations: 0.6682 MB / 0.9683 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.6279, allocations: 71.44 kB / 0.9683 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.918e-05/0.628, allocations: 52.12 kB / 0.9684 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007529/0.6287, allocations: 0.5208 MB / 0.9689 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.6288, allocations: 3.938 kB / 0.9689 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.6288, allocations: 17.75 kB / 0.9689 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.6288, allocations: 11 kB / 0.9689 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006716/0.6295, allocations: 409.5 kB / 0.9693 GB, free: 18.32 MB / 0.7325 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.002677/0.6322, allocations: 2.714 MB / 0.972 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/0.633, allocations: 449.8 kB / 0.9724 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.6335, allocations: 308.7 kB / 0.9727 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.6335, allocations: 10.81 kB / 0.9727 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004412/0.634, allocations: 292.3 kB / 0.973 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=44): time 1.753e-06/0.634, allocations: 0 / 0.973 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44): time 0.002133/0.6361, allocations: 1.145 MB / 0.9741 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.6362, allocations: 63.36 kB / 0.9742 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.6375, allocations: 1.756 MB / 0.9759 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.6376, allocations: 36.17 kB / 0.9759 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.6378, allocations: 0.5275 MB / 0.9764 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.313e-05/0.6379, allocations: 139.6 kB / 0.9766 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.638, allocations: 100.2 kB / 0.9766 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.405e-05/0.6381, allocations: 332.8 kB / 0.977 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/0.6385, allocations: 215 kB / 0.9772 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/0.639, allocations: 343.6 kB / 0.9775 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007313/0.6397, allocations: 0.5095 MB / 0.978 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6397, allocations: 1.031 kB / 0.978 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001287/0.641, allocations: 0.8147 MB / 0.9788 GB, free: 13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.6411, allocations: 10.78 kB / 0.9788 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6411, allocations: 3.594 kB / 0.9788 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003419/0.6414, allocations: 138.9 kB / 0.9789 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.6417, allocations: 100.9 kB / 0.979 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.6441, allocations: 2.609 MB / 0.9816 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.6444, allocations: 73.78 kB / 0.9817 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.6445, allocations: 22.89 kB / 0.9817 GB, free: 10.83 MB / 0.7325 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,$PRE.mean.y,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.000349/0.6448, allocations: 386.7 kB / 0.982 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.6449, allocations: 115.5 kB / 0.9822 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.6451, allocations: 144 kB / 0.9823 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.6451, allocations: 2.844 kB / 0.9823 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.6451, allocations: 4.844 kB / 0.9823 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.6451, allocations: 2.625 kB / 0.9823 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.647, allocations: 1.495 MB / 0.9838 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6471, allocations: 4 kB / 0.9838 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.6473, allocations: 42.34 kB / 0.9838 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003243/0.6476, allocations: 167.2 kB / 0.984 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.6476, allocations: 20.55 kB / 0.984 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002932/0.6506, allocations: 4.011 MB / 0.9879 GB, free: 6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6506, allocations: 0 / 0.9879 GB, free: 6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.652, allocations: 0.99 MB / 0.9889 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.6522, allocations: 212.3 kB / 0.9891 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.484e-05/0.6523, allocations: 14.77 kB / 0.9891 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.6526, allocations: 27.78 kB / 0.9891 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.6527, allocations: 57.41 kB / 0.9892 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.6527, allocations: 14.69 kB / 0.9892 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001033/0.6538, allocations: 1.289 MB / 0.9904 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6538, allocations: 3.938 kB / 0.9904 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005518/0.6543, allocations: 205 kB / 0.9906 GB, free: 4.512 MB / 0.7325 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) * 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.0009182/0.6553, allocations: 472 kB / 0.9911 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.6563, allocations: 0.6627 MB / 0.9917 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6564, allocations: 1.969 kB / 0.9917 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000668/0.657, allocations: 0.5224 MB / 0.9922 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008276/0.6579, allocations: 202.4 kB / 0.9924 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.6606, allocations: 2.357 MB / 0.9947 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/0.6611, allocations: 1.153 MB / 0.9959 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002137/0.6614, allocations: 97.64 kB / 0.996 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.302e-05/0.6615, allocations: 43.23 kB / 0.996 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.6615, allocations: 3.938 kB / 0.996 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of Templates: time 0.01428/0.6757, allocations: 10.02 MB / 1.006 GB, free: 12.38 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)