Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.TestCase7,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",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.0013/0.0013, 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.001385/0.001385, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.503/2.503, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001404, allocations: 71.88 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5764/0.5779, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1541/0.732, allocations: 155.6 MB / 1.169 GB, free: 6.594 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0247/0.7568, allocations: 21.97 MB / 1.19 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.759, allocations: 59.62 kB / 1.19 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.7611, allocations: 1.344 MB / 1.191 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.763, allocations: 0.9733 MB / 1.192 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.7647, allocations: 0.5763 MB / 1.193 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002084/0.7668, allocations: 1.755 MB / 1.195 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.7682, allocations: 0.8885 MB / 1.196 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.7694, allocations: 0.6538 MB / 1.196 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.7709, allocations: 1.183 MB / 1.197 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000254/0.7712, allocations: 48 kB / 1.197 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.7716, allocations: 103.9 kB / 1.198 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004494/0.7721, allocations: 396.3 kB / 1.198 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008115/0.7729, allocations: 0.6167 MB / 1.199 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.7744, allocations: 1.526 MB / 1.2 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7744, allocations: 0 / 1.2 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7744, allocations: 4 kB / 1.2 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.668e-05/0.7745, allocations: 0 / 1.2 GB, free: 6.395 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003618/0.7781, allocations: 1.915 MB / 1.202 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.7781, allocations: 12.03 kB / 1.202 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001919/0.7783, allocations: 106.7 kB / 1.202 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.7787, allocations: 186.7 kB / 1.202 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.7801, allocations: 0.8707 MB / 1.203 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.7802, allocations: 91 kB / 1.203 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.7804, allocations: 64 kB / 1.203 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.7818, allocations: 0.7215 MB / 1.204 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.7818, allocations: 4 kB / 1.204 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-05/0.7819, allocations: 24 kB / 1.204 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.7819, allocations: 16 kB / 1.204 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.7832, allocations: 0.5438 MB / 1.204 GB, free: 1.699 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.00467/0.7878, allocations: 3.621 MB / 1.208 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.7892, allocations: 0.6043 MB / 1.209 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007182/0.7899, allocations: 370.3 kB / 1.209 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.713e-05/0.79, allocations: 20.47 kB / 1.209 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007551/0.7908, allocations: 382.9 kB / 1.209 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=65): time 3.166e-06/0.7908, allocations: 0 / 1.209 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=65): time 0.004887/0.7957, allocations: 1.785 MB / 1.211 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.7957, allocations: 63.89 kB / 1.211 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/0.7984, allocations: 2.255 MB / 1.213 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.7985, allocations: 41.7 kB / 1.213 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005908/0.7991, allocations: 0.7187 MB / 1.214 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.7993, allocations: 213 kB / 1.214 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.7995, allocations: 130.6 kB / 1.214 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.7997, allocations: 337.9 kB / 1.215 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006114/0.8003, allocations: 269.8 kB / 1.215 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006769/0.801, allocations: 428.8 kB / 1.215 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.8021, allocations: 0.6574 MB / 1.216 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.8021, allocations: 0 / 1.216 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002297/0.8044, allocations: 1.12 MB / 1.217 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.8045, allocations: 8 kB / 1.217 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.8045, allocations: 7.984 kB / 1.217 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008623/0.8054, allocations: 277.4 kB / 1.217 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.8058, allocations: 119.8 kB / 1.217 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005327/0.8112, allocations: 3.435 MB / 1.221 GB, free: 256 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007293/0.8119, allocations: 99.3 kB / 1.221 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/0.812, allocations: 24 kB / 1.221 GB, free: 132 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (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,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007847/0.8128, allocations: 468.3 kB / 1.221 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.8131, allocations: 158 kB / 1.222 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003925/0.8135, allocations: 187.7 kB / 1.222 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.8135, allocations: 8 kB / 1.222 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8135, allocations: 3.938 kB / 1.222 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.8136, allocations: 3.984 kB / 1.222 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003838/0.8174, allocations: 2.044 MB / 1.224 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.8174, allocations: 0 / 1.224 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.8177, allocations: 59.89 kB / 1.224 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007977/0.8185, allocations: 275.4 kB / 1.224 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/0.8186, allocations: 23.92 kB / 1.224 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005873/0.8245, allocations: 4.765 MB / 1.229 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.8245, allocations: 8.062 kB / 1.229 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002942/0.8275, allocations: 1.392 MB / 1.23 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/0.828, allocations: 271 kB / 1.23 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.8282, allocations: 16 kB / 1.23 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/0.8288, allocations: 39.95 kB / 1.23 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.829, allocations: 64.45 kB / 1.23 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/0.8291, allocations: 27.98 kB / 1.231 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002016/0.8311, allocations: 1.635 MB / 1.232 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8311, allocations: 0 / 1.232 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00114/0.8323, allocations: 276.1 kB / 1.232 GB, free: 4.055 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,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 (39): * Single equations (assignments): 29 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004138/0.8364, allocations: 2.335 MB / 1.235 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.8384, allocations: 0.8925 MB / 1.236 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8385, allocations: 4 kB / 1.236 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.8397, allocations: 0.6752 MB / 1.236 GB, free: 272 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.8413, allocations: 268.5 kB / 1.236 GB, free: 4 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02003/0.8613, allocations: 12.42 MB / 1.249 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.8625, allocations: 1.322 MB / 1.25 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004968/0.8631, allocations: 118.4 kB / 1.25 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006693/0.8637, allocations: 0.5383 MB / 1.251 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/0.8638, allocations: 0 / 1.251 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4671/1.331, allocations: 27.62 MB / 1.277 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/1.331, allocations: 311.5 kB / 1.278 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/3.624, allocations: 0 / 1.278 GB, free: 223.3 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)