Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.001255/0.001255, 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.00125/0.00125, allocations: 195.8 kB / 16.26 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.235/1.235, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.149/2.149, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5176, allocations: 140.4 MB / 0.9492 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1386/0.6562, allocations: 154.6 MB / 1.1 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02103/0.6772, allocations: 21.49 MB / 1.121 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.6788, allocations: 43.75 kB / 1.121 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.6803, allocations: 1.13 MB / 1.122 GB, free: 164 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.6816, allocations: 0.8138 MB / 1.123 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009989/0.6827, allocations: 394.6 kB / 1.124 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.6839, allocations: 1.251 MB / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007996/0.6847, allocations: 0.6891 MB / 1.125 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006866/0.6854, allocations: 0.5607 MB / 1.126 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000958/0.6864, allocations: 0.9528 MB / 1.127 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.6865, allocations: 64 kB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.6868, allocations: 107.9 kB / 1.127 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.6871, allocations: 332.8 kB / 1.127 GB, free: 11 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004295/0.6875, allocations: 0.489 MB / 1.128 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009469/0.6885, allocations: 1.172 MB / 1.129 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.6885, allocations: 0 / 1.129 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6885, allocations: 4 kB / 1.129 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.46e-05/0.6885, allocations: 4 kB / 1.129 GB, free: 9.324 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002071/0.6906, allocations: 1.478 MB / 1.13 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.6906, allocations: 8.031 kB / 1.13 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.6907, allocations: 86.7 kB / 1.131 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.6909, allocations: 139.2 kB / 1.131 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007224/0.6916, allocations: 0.6587 MB / 1.131 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.6918, allocations: 70.69 kB / 1.131 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.661e-05/0.6918, allocations: 51.91 kB / 1.131 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000871/0.6927, allocations: 0.5184 MB / 1.132 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.6928, allocations: 0 / 1.132 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.6928, allocations: 23.94 kB / 1.132 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.6928, allocations: 16 kB / 1.132 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007554/0.6936, allocations: 411.7 kB / 1.132 GB, free: 5.742 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.003094/0.6967, allocations: 2.796 MB / 1.135 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009044/0.6976, allocations: 461.4 kB / 1.136 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.6981, allocations: 283.3 kB / 1.136 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.6982, allocations: 8.641 kB / 1.136 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005061/0.6987, allocations: 313.6 kB / 1.136 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=45): time 1.903e-06/0.6987, allocations: 0 / 1.136 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45): time 0.002629/0.7013, allocations: 1.242 MB / 1.137 GB, free: 356 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.7014, allocations: 59.34 kB / 1.137 GB, free: 284 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.7029, allocations: 1.752 MB / 1.139 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.703, allocations: 37.7 kB / 1.139 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00034/0.7033, allocations: 0.514 MB / 1.14 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.7034, allocations: 149.9 kB / 1.14 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.7036, allocations: 98.25 kB / 1.14 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.953e-05/0.7037, allocations: 326 kB / 1.14 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/0.7041, allocations: 221 kB / 1.14 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/0.7046, allocations: 320.9 kB / 1.141 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008042/0.7054, allocations: 0.512 MB / 1.141 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7054, allocations: 3.938 kB / 1.141 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001462/0.7069, allocations: 0.8475 MB / 1.142 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.7069, allocations: 11.98 kB / 1.142 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.707, allocations: 0 / 1.142 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004661/0.7074, allocations: 186.8 kB / 1.142 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.7078, allocations: 95.88 kB / 1.142 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/0.7109, allocations: 3.001 MB / 1.145 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.7113, allocations: 79.55 kB / 1.145 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.7114, allocations: 23.98 kB / 1.145 GB, free: 7.871 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: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000398/0.7118, allocations: 395.2 kB / 1.146 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.7119, allocations: 114.5 kB / 1.146 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.7121, allocations: 139.7 kB / 1.146 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.7121, allocations: 4 kB / 1.146 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.7121, allocations: 4 kB / 1.146 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.7122, allocations: 7.984 kB / 1.146 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.7143, allocations: 1.558 MB / 1.147 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.7144, allocations: 4 kB / 1.147 GB, free: 5.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.7146, allocations: 39.97 kB / 1.148 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.715, allocations: 195.7 kB / 1.148 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.7151, allocations: 15.98 kB / 1.148 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003949/0.719, allocations: 4.566 MB / 1.152 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.719, allocations: 0 / 1.152 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.7208, allocations: 1.057 MB / 1.153 GB, free: 15.42 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.721, allocations: 211.6 kB / 1.153 GB, free: 15.19 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.7212, allocations: 19.98 kB / 1.153 GB, free: 15.17 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.7215, allocations: 31.97 kB / 1.153 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.7217, allocations: 55.86 kB / 1.154 GB, free: 15.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.7217, allocations: 15.98 kB / 1.154 GB, free: 15.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001224/0.7229, allocations: 1.277 MB / 1.155 GB, free: 13.79 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7229, allocations: 4 kB / 1.155 GB, free: 13.79 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007517/0.7237, allocations: 215.6 kB / 1.155 GB, free: 13.57 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * 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,13,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.002835/0.7265, allocations: 1.974 MB / 1.157 GB, free: 11.76 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.728, allocations: 0.7656 MB / 1.158 GB, free: 10.98 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.728, allocations: 0 / 1.158 GB, free: 10.98 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007978/0.7289, allocations: 0.5482 MB / 1.158 GB, free: 10.4 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009122/0.7298, allocations: 204.8 kB / 1.158 GB, free: 10.21 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.7412, allocations: 9.403 MB / 1.168 GB, free: 404 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.7418, allocations: 1.149 MB / 1.169 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002514/0.7421, allocations: 84.78 kB / 1.169 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003894/0.7425, allocations: 411.3 kB / 1.169 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of SimCode: time 2.174e-06/0.7425, allocations: 0 / 1.169 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/0.7803, allocations: 20.55 MB / 1.189 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/0.7806, allocations: 283.3 kB / 1.19 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.806, allocations: 0 / 1.19 GB, free: 10.11 MB / 0.9512 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)