Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_latest_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.002046/0.002046, 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.002981/0.002981, allocations: 194.8 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.721/2.721, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.252/5.252, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00269/0.00269, allocations: 60.42 kB / 0.8987 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5742/0.5769, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.3129/0.8899, allocations: 154.9 MB / 1.204 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.05565/0.9456, allocations: 21.62 MB / 1.225 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004616/0.9503, allocations: 51.69 kB / 1.225 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004195/0.9547, allocations: 1.313 MB / 1.226 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003949/0.9587, allocations: 0.9268 MB / 1.227 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003243/0.9619, allocations: 453.9 kB / 1.227 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004249/0.9662, allocations: 1.442 MB / 1.229 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/0.9684, allocations: 0.7812 MB / 1.23 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.9706, allocations: 0.6503 MB / 1.23 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002673/0.9733, allocations: 1.152 MB / 1.231 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003353/0.9737, allocations: 75.94 kB / 1.231 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.9745, allocations: 120 kB / 1.232 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006782/0.9752, allocations: 388.6 kB / 1.232 GB, free: 148 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001563/0.9768, allocations: 0.5628 MB / 1.232 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003022/0.9798, allocations: 1.343 MB / 1.234 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.9799, allocations: 0 / 1.234 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.876e-06/0.9799, allocations: 0 / 1.234 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.452e-05/0.98, allocations: 0 / 1.234 GB, free: 14.23 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.005838/0.9858, allocations: 1.686 MB / 1.235 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.288e-05/0.9859, allocations: 8.625 kB / 1.235 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002537/0.9862, allocations: 90.69 kB / 1.236 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006457/0.9868, allocations: 155.1 kB / 1.236 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.9891, allocations: 0.7475 MB / 1.236 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.9894, allocations: 74.69 kB / 1.236 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.9897, allocations: 59.91 kB / 1.237 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.9919, allocations: 0.5691 MB / 1.237 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/0.9919, allocations: 3.938 kB / 1.237 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.534e-05/0.992, allocations: 20 kB / 1.237 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.9921, allocations: 12 kB / 1.237 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.9939, allocations: 451.7 kB / 1.238 GB, free: 10.24 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.008322/1.002, allocations: 3.017 MB / 1.241 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/1.004, allocations: 497.1 kB / 1.241 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/1.006, allocations: 317.9 kB / 1.241 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-05/1.006, allocations: 12.36 kB / 1.241 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/1.007, allocations: 329.6 kB / 1.242 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 6.062e-06/1.007, allocations: 0 / 1.242 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.006108/1.013, allocations: 1.348 MB / 1.243 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.896e-05/1.013, allocations: 55.84 kB / 1.243 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004384/1.018, allocations: 2.12 MB / 1.245 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/1.018, allocations: 41.64 kB / 1.245 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008437/1.019, allocations: 0.6284 MB / 1.246 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/1.019, allocations: 169.7 kB / 1.246 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002976/1.019, allocations: 106.3 kB / 1.246 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001972/1.02, allocations: 326 kB / 1.246 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008303/1.02, allocations: 237.2 kB / 1.247 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009106/1.021, allocations: 357.8 kB / 1.247 GB, free: 296 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9859/2.007, allocations: 0.5386 MB / 1.247 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/2.007, allocations: 1.219 kB / 1.247 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003608/2.011, allocations: 0.9113 MB / 1.248 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/2.011, allocations: 6.469 kB / 1.248 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/2.011, allocations: 5.469 kB / 1.248 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/2.012, allocations: 197.8 kB / 1.248 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/2.013, allocations: 108.6 kB / 1.249 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005793/2.019, allocations: 3.038 MB / 1.252 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/2.02, allocations: 92.44 kB / 1.252 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.8e-05/2.02, allocations: 22.09 kB / 1.252 GB, free: 194.2 MB / 0.9981 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.0009343/2.021, allocations: 437.9 kB / 1.252 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/2.021, allocations: 137.3 kB / 1.252 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003282/2.021, allocations: 168.6 kB / 1.252 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/2.021, allocations: 5.094 kB / 1.252 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/2.021, allocations: 6.312 kB / 1.252 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/2.021, allocations: 4.828 kB / 1.252 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/2.025, allocations: 1.737 MB / 1.254 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/2.025, allocations: 3.938 kB / 1.254 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/2.026, allocations: 44.41 kB / 1.254 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007228/2.026, allocations: 214.9 kB / 1.254 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.765e-05/2.027, allocations: 9.125 kB / 1.254 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006072/2.033, allocations: 4.604 MB / 1.259 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/2.033, allocations: 2.938 kB / 1.259 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003581/2.036, allocations: 1.161 MB / 1.26 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005908/2.037, allocations: 245.4 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/2.037, allocations: 13.98 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008072/2.038, allocations: 45.86 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/2.038, allocations: 54.95 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-05/2.038, allocations: 20.58 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003597/2.042, allocations: 1.547 MB / 1.262 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.51e-07/2.042, allocations: 3.531 kB / 1.262 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001768/2.044, allocations: 228.1 kB / 1.262 GB, free: 190.1 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: 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.005832/2.05, allocations: 2.093 MB / 1.264 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003427/2.053, allocations: 0.7998 MB / 1.265 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/2.053, allocations: 0.5312 kB / 1.265 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001855/2.055, allocations: 0.5853 MB / 1.265 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/2.058, allocations: 223.7 kB / 1.266 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03712/2.095, allocations: 10.89 MB / 1.276 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002203/2.097, allocations: 1.243 MB / 1.278 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000906/2.098, allocations: 105.8 kB / 1.278 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/2.099, allocations: 485.9 kB / 1.278 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.734e-06/2.099, allocations: 0 / 1.278 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1671/2.266, allocations: 23.38 MB / 1.301 GB, free: 171 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003328/2.267, allocations: 281.5 kB / 1.301 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.136/7.403, allocations: 0 / 1.301 GB, free: 170.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)