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.001177/0.001177, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.404/2.404, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 55.91 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6391/0.6406, allocations: 151.6 MB / 1.017 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1572/0.7978, allocations: 157.3 MB / 1.171 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02358/0.8215, allocations: 22 MB / 1.192 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.8238, allocations: 55.69 kB / 1.193 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.8264, allocations: 2.155 MB / 1.195 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.8288, allocations: 1.413 MB / 1.196 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.8304, allocations: 0.5824 MB / 1.197 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002211/0.8327, allocations: 1.828 MB / 1.198 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.8343, allocations: 1.086 MB / 1.199 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.8356, allocations: 0.8686 MB / 1.2 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.8374, allocations: 1.538 MB / 1.202 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000265/0.8377, allocations: 88 kB / 1.202 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004186/0.8381, allocations: 143.9 kB / 1.202 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000481/0.8386, allocations: 0.5352 MB / 1.203 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008421/0.8395, allocations: 0.7602 MB / 1.203 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.8413, allocations: 1.833 MB / 1.205 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8413, allocations: 0 / 1.205 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8413, allocations: 0 / 1.205 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.184e-05/0.8414, allocations: 0 / 1.205 GB, free: 1.664 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003649/0.845, allocations: 2.273 MB / 1.207 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.8451, allocations: 12.02 kB / 1.207 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.8452, allocations: 102.7 kB / 1.207 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003182/0.8456, allocations: 230 kB / 1.208 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.8469, allocations: 1.007 MB / 1.209 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.847, allocations: 87 kB / 1.209 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.8471, allocations: 71.98 kB / 1.209 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.8483, allocations: 0.7329 MB / 1.209 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.8484, allocations: 0 / 1.209 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.648e-05/0.8484, allocations: 20 kB / 1.209 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.8485, allocations: 16 kB / 1.209 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.8496, allocations: 0.5985 MB / 1.21 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004629/0.8542, allocations: 3.525 MB / 1.214 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.8557, allocations: 0.7177 MB / 1.214 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007149/0.8564, allocations: 398.3 kB / 1.215 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.925e-05/0.8565, allocations: 16.55 kB / 1.215 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008014/0.8573, allocations: 430.9 kB / 1.215 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 3.026e-06/0.8573, allocations: 0 / 1.215 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.00413/0.8615, allocations: 1.8 MB / 1.217 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.8615, allocations: 67.95 kB / 1.217 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003446/0.865, allocations: 3.304 MB / 1.22 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.8651, allocations: 45.7 kB / 1.22 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007146/0.8658, allocations: 0.8859 MB / 1.221 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.866, allocations: 224.9 kB / 1.221 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.8662, allocations: 130.7 kB / 1.221 GB, free: 456 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.8663, allocations: 334 kB / 1.222 GB, free: 116 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006493/0.867, allocations: 305.8 kB / 1.222 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/0.8677, allocations: 438.3 kB / 1.222 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.8689, allocations: 0.7189 MB / 1.223 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.869, allocations: 4 kB / 1.223 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002203/0.8712, allocations: 1.21 MB / 1.224 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.8712, allocations: 5.875 kB / 1.224 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.8712, allocations: 8.078 kB / 1.224 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006836/0.8719, allocations: 267.2 kB / 1.225 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.8724, allocations: 131.7 kB / 1.225 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004685/0.8771, allocations: 4.757 MB / 1.229 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005829/0.8777, allocations: 99.25 kB / 1.229 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/0.8777, allocations: 24 kB / 1.229 GB, free: 7.801 MB / 0.9825 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.0007679/0.8785, allocations: 0.6107 MB / 1.23 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.8788, allocations: 205.4 kB / 1.23 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003994/0.8792, allocations: 252.5 kB / 1.23 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.8792, allocations: 8 kB / 1.23 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-05/0.8792, allocations: 4 kB / 1.23 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.8793, allocations: 11.86 kB / 1.23 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003713/0.883, allocations: 2.331 MB / 1.233 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.883, allocations: 3.938 kB / 1.233 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.8833, allocations: 71.89 kB / 1.233 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000597/0.8839, allocations: 253.5 kB / 1.233 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/0.884, allocations: 19.98 kB / 1.233 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004568/0.8885, allocations: 4.754 MB / 1.238 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.8886, allocations: 0 / 1.238 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/0.8912, allocations: 1.579 MB / 1.239 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004105/0.8916, allocations: 310.4 kB / 1.24 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.8918, allocations: 19.94 kB / 1.24 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.8922, allocations: 47.95 kB / 1.24 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.8924, allocations: 68.47 kB / 1.24 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.8925, allocations: 23.98 kB / 1.24 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002564/0.895, allocations: 2.423 MB / 1.242 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.895, allocations: 0 / 1.242 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008594/0.8959, allocations: 295.4 kB / 1.242 GB, free: 10.11 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: 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.00385/0.8998, allocations: 2.507 MB / 1.245 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002211/0.902, allocations: 1.147 MB / 1.246 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.902, allocations: 4 kB / 1.246 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.9031, allocations: 0.6865 MB / 1.247 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.9044, allocations: 288.4 kB / 1.247 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4248/1.329, allocations: 15.51 MB / 1.262 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.331, allocations: 1.522 MB / 1.264 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004915/1.331, allocations: 154.9 kB / 1.264 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005794/1.332, allocations: 0.7078 MB / 1.264 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.62e-07/1.332, allocations: 0.875 kB / 1.264 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1731/1.505, allocations: 32.37 MB / 1.296 GB, free: 205.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.474/10.98, allocations: 10.09 kB / 1.296 GB, free: 205.9 MB / 0.9981 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=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)