Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_10_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.001885/0.001891, allocations: 108 kB / 15.6 MB, free: 132 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.002365/0.002365, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 64.03 kB / 0.8693 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6178/0.6192, allocations: 151.6 MB / 1.017 GB, free: 2.559 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1599/0.7792, allocations: 157 MB / 1.171 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02567/0.8049, allocations: 21.87 MB / 1.192 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.807, allocations: 55.69 kB / 1.192 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.8093, allocations: 1.344 MB / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.8116, allocations: 0.9808 MB / 1.194 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.8132, allocations: 0.5005 MB / 1.195 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002296/0.8156, allocations: 1.422 MB / 1.196 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.8168, allocations: 0.787 MB / 1.197 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.8179, allocations: 0.6425 MB / 1.198 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.8194, allocations: 1.102 MB / 1.199 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.8196, allocations: 72 kB / 1.199 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004072/0.82, allocations: 120 kB / 1.199 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.8204, allocations: 372.5 kB / 1.199 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007139/0.8211, allocations: 0.5627 MB / 1.2 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.8226, allocations: 1.335 MB / 1.201 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.8226, allocations: 4 kB / 1.201 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8226, allocations: 0 / 1.201 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.415e-05/0.8227, allocations: 0 / 1.201 GB, free: 5.645 MB / 0.9512 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.003037/0.8257, allocations: 1.679 MB / 1.203 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.8258, allocations: 12.03 kB / 1.203 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.8259, allocations: 98.69 kB / 1.203 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003081/0.8262, allocations: 159 kB / 1.203 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009352/0.8272, allocations: 0.7514 MB / 1.204 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.8273, allocations: 78.62 kB / 1.204 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.485e-05/0.8274, allocations: 52 kB / 1.204 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009947/0.8284, allocations: 0.573 MB / 1.205 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.8284, allocations: 3.906 kB / 1.205 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/0.8285, allocations: 20 kB / 1.205 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.8285, allocations: 12 kB / 1.205 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009083/0.8294, allocations: 443.6 kB / 1.205 GB, free: 1.645 MB / 0.9512 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.003679/0.8331, allocations: 3.018 MB / 1.208 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.8342, allocations: 0.4893 MB / 1.208 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005786/0.8348, allocations: 313.9 kB / 1.209 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.8348, allocations: 8.359 kB / 1.209 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000583/0.8354, allocations: 329 kB / 1.209 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=52): time 3.406e-06/0.8354, allocations: 7.984 kB / 1.209 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=52): time 0.003036/0.8385, allocations: 1.344 MB / 1.21 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.8385, allocations: 63.84 kB / 1.21 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.8405, allocations: 2.124 MB / 1.212 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.8406, allocations: 37.7 kB / 1.213 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000456/0.8411, allocations: 0.6323 MB / 1.213 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.8412, allocations: 161.7 kB / 1.213 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.8414, allocations: 106.3 kB / 1.213 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.8415, allocations: 334 kB / 1.214 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/0.842, allocations: 229.2 kB / 1.214 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005488/0.8426, allocations: 345.9 kB / 1.214 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009459/0.8435, allocations: 0.5524 MB / 1.215 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.8435, allocations: 4 kB / 1.215 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001681/0.8452, allocations: 0.904 MB / 1.216 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.8452, allocations: 6.031 kB / 1.216 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.8453, allocations: 4.547 kB / 1.216 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005277/0.8458, allocations: 202.8 kB / 1.216 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.8462, allocations: 103.9 kB / 1.216 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003458/0.8497, allocations: 3.053 MB / 1.219 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/0.8501, allocations: 75.55 kB / 1.219 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/0.8502, allocations: 27.94 kB / 1.219 GB, free: 2.602 MB / 0.9669 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.0005132/0.8507, allocations: 439.7 kB / 1.219 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.8509, allocations: 134.2 kB / 1.22 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.8512, allocations: 178 kB / 1.22 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.8512, allocations: 11.94 kB / 1.22 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.8512, allocations: 4 kB / 1.22 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.8512, allocations: 0 / 1.22 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.854, allocations: 1.738 MB / 1.221 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.8541, allocations: 0 / 1.221 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.8543, allocations: 51.91 kB / 1.222 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000513/0.8549, allocations: 201.6 kB / 1.222 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.891e-05/0.8549, allocations: 15.98 kB / 1.222 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004683/0.8596, allocations: 4.601 MB / 1.226 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8596, allocations: 0 / 1.226 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.8617, allocations: 1.165 MB / 1.227 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/0.862, allocations: 243.5 kB / 1.228 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.8622, allocations: 12 kB / 1.228 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.8625, allocations: 31.97 kB / 1.228 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.8627, allocations: 60.33 kB / 1.228 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.8627, allocations: 16 kB / 1.228 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001608/0.8643, allocations: 1.549 MB / 1.229 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8644, allocations: 4 kB / 1.229 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008062/0.8652, allocations: 223.6 kB / 1.229 GB, free: 7.547 MB / 0.9825 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.003198/0.8684, allocations: 2.097 MB / 1.231 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001736/0.8701, allocations: 0.8036 MB / 1.232 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8701, allocations: 0 / 1.232 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009191/0.8711, allocations: 0.5743 MB / 1.233 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.8721, allocations: 224.7 kB / 1.233 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.8857, allocations: 10.59 MB / 1.243 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008221/0.8865, allocations: 1.243 MB / 1.245 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000324/0.8869, allocations: 97.09 kB / 1.245 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005315/0.8874, allocations: 483.3 kB / 1.245 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/0.8874, allocations: 0 / 1.245 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4786/1.366, allocations: 23.67 MB / 1.268 GB, free: 230 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.559/10.93, allocations: 5.094 kB / 1.268 GB, free: 230 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)