Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.TestCase6,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.001102/0.001102, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001069/0.001069, allocations: 191 kB / 16.25 MB, free: 6.629 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.259/1.259, 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 9.1.3-maint.9.1.x/package.mo): time 2.147/2.147, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.89 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5223/0.5235, allocations: 140.4 MB / 0.9492 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1486/0.6721, allocations: 154.9 MB / 1.1 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02226/0.6944, allocations: 21.62 MB / 1.122 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.6963, allocations: 51.69 kB / 1.122 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.6982, allocations: 1.306 MB / 1.123 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.6998, allocations: 0.9268 MB / 1.124 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.7011, allocations: 459.1 kB / 1.124 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001653/0.7028, allocations: 1.434 MB / 1.126 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.7038, allocations: 0.7871 MB / 1.126 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009476/0.7048, allocations: 0.6542 MB / 1.127 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.7061, allocations: 1.148 MB / 1.128 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.7063, allocations: 72 kB / 1.128 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002965/0.7066, allocations: 120 kB / 1.128 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.7069, allocations: 388.5 kB / 1.129 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004348/0.7073, allocations: 0.5627 MB / 1.129 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.7084, allocations: 1.343 MB / 1.131 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7084, allocations: 0 / 1.131 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7084, allocations: 0 / 1.131 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.7085, allocations: 4 kB / 1.131 GB, free: 7.688 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002144/0.7106, allocations: 1.683 MB / 1.132 GB, free: 5.945 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.7107, allocations: 8.031 kB / 1.132 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.236e-05/0.7107, allocations: 86.7 kB / 1.132 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.711, allocations: 159 kB / 1.132 GB, free: 5.688 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007833/0.7118, allocations: 0.7475 MB / 1.133 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.7119, allocations: 78.69 kB / 1.133 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-05/0.712, allocations: 52 kB / 1.133 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009336/0.7129, allocations: 0.5653 MB / 1.134 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.713, allocations: 7.938 kB / 1.134 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.713, allocations: 19.98 kB / 1.134 GB, free: 4.152 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.713, allocations: 16 kB / 1.134 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.7138, allocations: 439.7 kB / 1.134 GB, free: 3.703 MB / 0.8887 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.003182/0.717, allocations: 3.021 MB / 1.137 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009571/0.718, allocations: 0.5031 MB / 1.138 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/0.7185, allocations: 311.8 kB / 1.138 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.7186, allocations: 4.375 kB / 1.138 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005596/0.7191, allocations: 333.1 kB / 1.138 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 1.943e-06/0.7192, allocations: 0 / 1.138 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=52): time 0.00279/0.722, allocations: 1.348 MB / 1.14 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.722, allocations: 59.83 kB / 1.14 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/0.7238, allocations: 2.116 MB / 1.142 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.7238, allocations: 45.69 kB / 1.142 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.7243, allocations: 0.6206 MB / 1.143 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.7244, allocations: 173.6 kB / 1.143 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.7245, allocations: 106.3 kB / 1.143 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.7246, allocations: 322 kB / 1.143 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.7251, allocations: 245.1 kB / 1.143 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005153/0.7256, allocations: 345.8 kB / 1.144 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008671/0.7265, allocations: 0.5495 MB / 1.144 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.7265, allocations: 0 / 1.144 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001506/0.728, allocations: 0.9117 MB / 1.145 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.728, allocations: 8 kB / 1.145 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.7281, allocations: 0 / 1.145 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004635/0.7285, allocations: 196.7 kB / 1.145 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.7289, allocations: 111.8 kB / 1.145 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.732, allocations: 3.053 MB / 1.148 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.7324, allocations: 79.48 kB / 1.148 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.7325, allocations: 28.05 kB / 1.148 GB, free: 4.637 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004376/0.7329, allocations: 440 kB / 1.149 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.733, allocations: 142.2 kB / 1.149 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.7332, allocations: 166 kB / 1.149 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.7333, allocations: 7.938 kB / 1.149 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.7333, allocations: 4 kB / 1.149 GB, free: 3.879 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.7333, allocations: 3.984 kB / 1.149 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.7356, allocations: 1.734 MB / 1.151 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.7356, allocations: 0 / 1.151 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.7359, allocations: 47.97 kB / 1.151 GB, free: 2.031 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/0.7363, allocations: 201.5 kB / 1.151 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/0.7364, allocations: 15.98 kB / 1.151 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003922/0.7403, allocations: 4.605 MB / 1.156 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.7403, allocations: 4 kB / 1.156 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.7421, allocations: 1.165 MB / 1.157 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.7424, allocations: 239.3 kB / 1.157 GB, free: 11.48 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.7425, allocations: 12 kB / 1.157 GB, free: 11.47 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.7428, allocations: 39.95 kB / 1.157 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.743, allocations: 56.36 kB / 1.157 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.743, allocations: 23.98 kB / 1.157 GB, free: 11.35 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001391/0.7444, allocations: 1.541 MB / 1.159 GB, free: 9.812 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7444, allocations: 3.938 kB / 1.159 GB, free: 9.809 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006816/0.7451, allocations: 231.6 kB / 1.159 GB, free: 9.582 MB / 0.92 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.002957/0.7481, allocations: 2.095 MB / 1.161 GB, free: 7.645 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001512/0.7496, allocations: 0.7958 MB / 1.162 GB, free: 6.836 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7496, allocations: 0 / 1.162 GB, free: 6.836 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008441/0.7504, allocations: 0.586 MB / 1.162 GB, free: 6.223 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009798/0.7514, allocations: 243.5 kB / 1.162 GB, free: 5.996 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.7646, allocations: 10.89 MB / 1.173 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000782/0.7654, allocations: 1.25 MB / 1.174 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000274/0.7657, allocations: 93.11 kB / 1.174 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/0.7661, allocations: 475.3 kB / 1.175 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of SimCode: time 1.743e-06/0.7661, allocations: 4 kB / 1.175 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04184/0.808, allocations: 23.36 MB / 1.198 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/0.8083, allocations: 281.8 kB / 1.198 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/2.92, allocations: 4 kB / 1.198 GB, free: 1.398 MB / 0.9512 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)