Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",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.005279/0.005279, allocations: 101.5 kB / 15.73 MB, free: 6.449 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.001584/0.001584, allocations: 199.5 kB / 16.68 MB, free: 6.352 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.495/2.495, allocations: 437.1 MB / 0.7106 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 63.91 kB / 1.018 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2449, allocations: 151.6 MB / 1.166 GB, free: 7.41 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.6163/0.8613, allocations: 157.3 MB / 1.32 GB, free: 11.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02416/0.8855, allocations: 22 MB / 1.341 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.8873, allocations: 56.41 kB / 1.341 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.8894, allocations: 2.148 MB / 1.343 GB, free: 10.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.8911, allocations: 1.421 MB / 1.345 GB, free: 10.28 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.8924, allocations: 0.5932 MB / 1.345 GB, free: 9.949 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.894, allocations: 1.826 MB / 1.347 GB, free: 9.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.8951, allocations: 1.091 MB / 1.348 GB, free: 8.824 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008349/0.8959, allocations: 0.8819 MB / 1.349 GB, free: 8.555 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.8973, allocations: 1.531 MB / 1.351 GB, free: 8.238 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.8975, allocations: 91.41 kB / 1.351 GB, free: 8.238 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.8978, allocations: 134.2 kB / 1.351 GB, free: 8.227 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004015/0.8982, allocations: 0.5243 MB / 1.351 GB, free: 8.004 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006531/0.8988, allocations: 0.7647 MB / 1.352 GB, free: 7.453 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.9006, allocations: 1.872 MB / 1.354 GB, free: 6.605 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9006, allocations: 3.938 kB / 1.354 GB, free: 6.602 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9007, allocations: 0 / 1.354 GB, free: 6.602 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.205e-05/0.9007, allocations: 1.125 kB / 1.354 GB, free: 6.602 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003334/0.904, allocations: 2.356 MB / 1.356 GB, free: 4.785 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.9041, allocations: 13.59 kB / 1.356 GB, free: 4.781 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.9042, allocations: 107.9 kB / 1.356 GB, free: 4.688 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.9045, allocations: 240.1 kB / 1.357 GB, free: 4.559 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.9057, allocations: 1.03 MB / 1.358 GB, free: 3.727 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.9059, allocations: 85.16 kB / 1.358 GB, free: 3.672 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.615e-05/0.906, allocations: 67.05 kB / 1.358 GB, free: 3.648 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.9072, allocations: 0.7273 MB / 1.358 GB, free: 3.215 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.9072, allocations: 5.391 kB / 1.358 GB, free: 3.211 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/0.9073, allocations: 25.09 kB / 1.358 GB, free: 3.191 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.9073, allocations: 15.47 kB / 1.358 GB, free: 3.191 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.9084, allocations: 0.5976 MB / 1.359 GB, free: 2.898 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004518/0.913, allocations: 3.499 MB / 1.362 GB, free: 56 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.9144, allocations: 0.7097 MB / 1.363 GB, free: 15.69 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006937/0.9151, allocations: 415.1 kB / 1.364 GB, free: 15.48 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.9151, allocations: 11.53 kB / 1.364 GB, free: 15.48 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007401/0.9159, allocations: 439.3 kB / 1.364 GB, free: 15.22 MB / 1.045 GB Notification: Performance of pre-optimization done (n=70): time 2.445e-06/0.9159, allocations: 1.469 kB / 1.364 GB, free: 15.22 MB / 1.045 GB Notification: Performance of matching and sorting (n=70): time 0.003959/0.9198, allocations: 1.807 MB / 1.366 GB, free: 14.19 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.9199, allocations: 63.94 kB / 1.366 GB, free: 14.12 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002926/0.9228, allocations: 3.318 MB / 1.369 GB, free: 12.67 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.9229, allocations: 46.48 kB / 1.369 GB, free: 12.62 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007154/0.9236, allocations: 0.8841 MB / 1.37 GB, free: 11.87 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.9238, allocations: 239.9 kB / 1.37 GB, free: 11.66 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.924, allocations: 129.8 kB / 1.37 GB, free: 11.58 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.9241, allocations: 333.8 kB / 1.371 GB, free: 11.26 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/0.9247, allocations: 307.9 kB / 1.371 GB, free: 11.11 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006642/0.9254, allocations: 434.4 kB / 1.371 GB, free: 10.82 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.9265, allocations: 0.7186 MB / 1.372 GB, free: 10.39 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.9266, allocations: 3.938 kB / 1.372 GB, free: 10.38 MB / 1.045 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001984/0.9286, allocations: 1.219 MB / 1.373 GB, free: 9.738 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.9286, allocations: 13.56 kB / 1.373 GB, free: 9.734 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.9286, allocations: 2.094 kB / 1.373 GB, free: 9.734 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/0.9292, allocations: 258.6 kB / 1.373 GB, free: 9.617 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.9297, allocations: 130.4 kB / 1.374 GB, free: 9.586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004572/0.9342, allocations: 4.768 MB / 1.378 GB, free: 5.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000611/0.9349, allocations: 98.59 kB / 1.378 GB, free: 5.406 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.9349, allocations: 36.2 kB / 1.378 GB, free: 5.391 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007746/0.9357, allocations: 0.5996 MB / 1.379 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.9359, allocations: 219.5 kB / 1.379 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.9362, allocations: 255 kB / 1.379 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.9362, allocations: 9.062 kB / 1.379 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.9363, allocations: 4.969 kB / 1.379 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.9363, allocations: 3.984 kB / 1.379 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/0.9395, allocations: 2.336 MB / 1.382 GB, free: 3.332 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.9395, allocations: 0 / 1.382 GB, free: 3.332 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.9398, allocations: 65.95 kB / 1.382 GB, free: 3.316 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005425/0.9403, allocations: 251.4 kB / 1.382 GB, free: 3.195 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.9404, allocations: 22.83 kB / 1.382 GB, free: 3.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004472/0.9448, allocations: 4.752 MB / 1.387 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9449, allocations: 0 / 1.387 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.9474, allocations: 1.589 MB / 1.388 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/0.9478, allocations: 323.5 kB / 1.389 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.948, allocations: 24.78 kB / 1.389 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.9484, allocations: 38.17 kB / 1.389 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.9485, allocations: 72.75 kB / 1.389 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.9486, allocations: 28.83 kB / 1.389 GB, free: 13.81 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002365/0.951, allocations: 2.428 MB / 1.391 GB, free: 12.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/0.951, allocations: 0 / 1.391 GB, free: 12.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007823/0.9518, allocations: 282.7 kB / 1.391 GB, free: 12.68 MB / 1.061 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.004274/0.956, allocations: 2.525 MB / 1.394 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001889/0.9579, allocations: 1.058 MB / 1.395 GB, free: 9.539 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.958, allocations: 0 / 1.395 GB, free: 9.539 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.959, allocations: 0.7021 MB / 1.396 GB, free: 8.812 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.9603, allocations: 290 kB / 1.396 GB, free: 8.543 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/0.9782, allocations: 13.78 MB / 1.409 GB, free: 10.49 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.9794, allocations: 1.524 MB / 1.411 GB, free: 8.934 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004016/0.9798, allocations: 150.4 kB / 1.411 GB, free: 8.781 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007363/0.9805, allocations: 0.7101 MB / 1.412 GB, free: 8.07 MB / 1.076 GB Notification: Performance of SimCode: time 7.61e-07/0.9805, allocations: 0 / 1.412 GB, free: 8.07 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.322/3.303, allocations: 32.96 MB / 1.444 GB, free: 7.438 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.07/24.37, allocations: 3.938 kB / 1.444 GB, free: 7.434 MB / 1.107 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)