Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.TestCase5,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="Buildings_latest_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.006955/0.006955, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001908/0.001909, allocations: 192.1 kB / 16.68 MB, free: 5.969 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.439/2.439, allocations: 482.6 MB / 0.7551 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 62.97 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2555, allocations: 162.3 MB / 1.242 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1547/0.4102, allocations: 157.3 MB / 1.395 GB, free: 11 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02275/0.433, allocations: 22 MB / 1.417 GB, free: 4.93 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.4341, allocations: 59.69 kB / 1.417 GB, free: 4.871 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.4364, allocations: 2.159 MB / 1.419 GB, free: 2.707 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.4381, allocations: 1.425 MB / 1.421 GB, free: 1.277 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.4392, allocations: 0.5834 MB / 1.421 GB, free: 0.6992 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001649/0.4408, allocations: 1.828 MB / 1.423 GB, free: 14.87 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.442, allocations: 1.088 MB / 1.424 GB, free: 13.75 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008306/0.4428, allocations: 0.8725 MB / 1.425 GB, free: 12.88 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.4443, allocations: 1.546 MB / 1.426 GB, free: 11.33 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.4445, allocations: 88 kB / 1.426 GB, free: 11.25 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.4448, allocations: 143.9 kB / 1.427 GB, free: 11.11 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004195/0.4452, allocations: 0.5161 MB / 1.427 GB, free: 10.59 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006064/0.4458, allocations: 0.7641 MB / 1.428 GB, free: 9.816 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.4475, allocations: 1.874 MB / 1.43 GB, free: 7.934 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4475, allocations: 4 kB / 1.43 GB, free: 7.93 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4475, allocations: 0 / 1.43 GB, free: 7.93 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.4475, allocations: 0 / 1.43 GB, free: 7.93 MB / 1.154 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.003033/0.4505, allocations: 2.358 MB / 1.432 GB, free: 5.5 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.4506, allocations: 8.031 kB / 1.432 GB, free: 5.492 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.4507, allocations: 106.7 kB / 1.432 GB, free: 5.379 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.451, allocations: 239.3 kB / 1.432 GB, free: 5.145 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.4521, allocations: 1.032 MB / 1.433 GB, free: 4.047 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.4523, allocations: 83 kB / 1.433 GB, free: 3.961 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.615e-05/0.4524, allocations: 71.92 kB / 1.433 GB, free: 3.891 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.4536, allocations: 0.7329 MB / 1.434 GB, free: 3.145 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4536, allocations: 0 / 1.434 GB, free: 3.145 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-05/0.4537, allocations: 24 kB / 1.434 GB, free: 3.121 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.4537, allocations: 16 kB / 1.434 GB, free: 3.105 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.4548, allocations: 0.5907 MB / 1.435 GB, free: 2.512 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004186/0.459, allocations: 3.518 MB / 1.438 GB, free: 14.73 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.4604, allocations: 0.7099 MB / 1.439 GB, free: 14.02 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007418/0.4612, allocations: 410.3 kB / 1.439 GB, free: 13.61 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.4612, allocations: 12.56 kB / 1.439 GB, free: 13.6 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007252/0.462, allocations: 426.9 kB / 1.44 GB, free: 13.17 MB / 1.17 GB Notification: Performance of pre-optimization done (n=70): time 1.894e-06/0.462, allocations: 0 / 1.44 GB, free: 13.17 MB / 1.17 GB Notification: Performance of matching and sorting (n=70): time 0.003914/0.4659, allocations: 1.82 MB / 1.441 GB, free: 11.3 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.4659, allocations: 59.97 kB / 1.441 GB, free: 11.23 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003144/0.4691, allocations: 3.312 MB / 1.445 GB, free: 7.887 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/0.4691, allocations: 41.7 kB / 1.445 GB, free: 7.84 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007197/0.4699, allocations: 0.8864 MB / 1.446 GB, free: 6.949 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.4701, allocations: 238.1 kB / 1.446 GB, free: 6.715 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.4702, allocations: 130.6 kB / 1.446 GB, free: 6.582 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4704, allocations: 338 kB / 1.446 GB, free: 6.246 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/0.471, allocations: 305.8 kB / 1.447 GB, free: 5.945 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006822/0.4717, allocations: 434.3 kB / 1.447 GB, free: 5.48 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.4729, allocations: 0.7186 MB / 1.448 GB, free: 4.715 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4729, allocations: 4 kB / 1.448 GB, free: 4.711 MB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002051/0.475, allocations: 1.219 MB / 1.449 GB, free: 3.48 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.475, allocations: 10.02 kB / 1.449 GB, free: 3.473 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.475, allocations: 8.094 kB / 1.449 GB, free: 3.465 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006222/0.4756, allocations: 257.5 kB / 1.449 GB, free: 3.207 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004299/0.4761, allocations: 135.7 kB / 1.449 GB, free: 3.074 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00468/0.4808, allocations: 4.754 MB / 1.454 GB, free: 14.05 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.4812, allocations: 99.41 kB / 1.454 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.4813, allocations: 28 kB / 1.454 GB, free: 13.92 MB / 1.186 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.0007256/0.482, allocations: 0.6068 MB / 1.455 GB, free: 13.31 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.4822, allocations: 214.6 kB / 1.455 GB, free: 13.1 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.4826, allocations: 248.5 kB / 1.455 GB, free: 12.84 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.4826, allocations: 8.047 kB / 1.455 GB, free: 12.84 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.4826, allocations: 7.984 kB / 1.455 GB, free: 12.83 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.4826, allocations: 7.922 kB / 1.455 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/0.486, allocations: 2.339 MB / 1.457 GB, free: 10.42 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.486, allocations: 4 kB / 1.457 GB, free: 10.41 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.4863, allocations: 71.89 kB / 1.457 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005708/0.4869, allocations: 257.4 kB / 1.458 GB, free: 10.09 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.4869, allocations: 19.98 kB / 1.458 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004797/0.4917, allocations: 4.761 MB / 1.462 GB, free: 5.039 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4917, allocations: 0 / 1.462 GB, free: 5.039 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.4943, allocations: 1.585 MB / 1.464 GB, free: 3.434 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.4946, allocations: 323.5 kB / 1.464 GB, free: 3.098 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.4948, allocations: 19.94 kB / 1.464 GB, free: 3.078 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.4952, allocations: 43.95 kB / 1.464 GB, free: 3.035 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.4953, allocations: 68.47 kB / 1.464 GB, free: 2.969 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/0.4954, allocations: 23.98 kB / 1.464 GB, free: 2.945 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00239/0.4978, allocations: 2.427 MB / 1.467 GB, free: 0.5039 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4978, allocations: 0 / 1.467 GB, free: 0.5039 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007272/0.4985, allocations: 283.6 kB / 1.467 GB, free: 232 kB / 1.186 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.00429/0.5028, allocations: 2.527 MB / 1.47 GB, free: 13.85 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001783/0.5046, allocations: 1.055 MB / 1.471 GB, free: 12.77 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.5046, allocations: 4.062 kB / 1.471 GB, free: 12.76 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.5056, allocations: 0.6976 MB / 1.471 GB, free: 12.04 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.5068, allocations: 288 kB / 1.471 GB, free: 11.77 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/0.5244, allocations: 13.79 MB / 1.485 GB, free: 13.71 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.5257, allocations: 1.524 MB / 1.486 GB, free: 12.16 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000362/0.526, allocations: 146.4 kB / 1.487 GB, free: 12.01 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007345/0.5268, allocations: 0.7101 MB / 1.487 GB, free: 11.3 MB / 1.217 GB Notification: Performance of SimCode: time 3.91e-07/0.5268, allocations: 0 / 1.487 GB, free: 11.3 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6762/1.203, allocations: 32.98 MB / 1.519 GB, free: 10.7 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/14.44, allocations: 5.062 kB / 1.519 GB, free: 10.7 MB / 1.248 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)