Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TestCase3,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.001643/0.001643, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001731/0.001731, allocations: 192.4 kB / 16.25 MB, free: 6.633 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.287/1.287, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.436/2.436, allocations: 469.8 MB / 0.7421 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 67.2 kB / 0.9082 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2382, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1526/0.3908, allocations: 154.6 MB / 1.215 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02279/0.4136, allocations: 21.51 MB / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.4149, allocations: 43.75 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.4164, allocations: 1.134 MB / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.4178, allocations: 0.8177 MB / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009411/0.4187, allocations: 382.4 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001344/0.4201, allocations: 1.259 MB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008464/0.4209, allocations: 0.6872 MB / 1.24 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006908/0.4216, allocations: 0.5529 MB / 1.24 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.4227, allocations: 0.9566 MB / 1.241 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.4228, allocations: 64 kB / 1.241 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.423, allocations: 108 kB / 1.241 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.4233, allocations: 332.7 kB / 1.242 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.4237, allocations: 492.8 kB / 1.242 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.4248, allocations: 1.183 MB / 1.243 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.4248, allocations: 4 kB / 1.243 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4248, allocations: 0 / 1.243 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.4248, allocations: 3.938 kB / 1.243 GB, free: 5.801 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002009/0.4268, allocations: 1.475 MB / 1.245 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.4268, allocations: 8.031 kB / 1.245 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.356e-05/0.4269, allocations: 78.72 kB / 1.245 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.4271, allocations: 139.2 kB / 1.245 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007417/0.4279, allocations: 0.6587 MB / 1.246 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.428, allocations: 74.69 kB / 1.246 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.35e-05/0.4281, allocations: 44 kB / 1.246 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008887/0.429, allocations: 0.5223 MB / 1.246 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.429, allocations: 4 kB / 1.246 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.429, allocations: 20 kB / 1.246 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.4291, allocations: 11.98 kB / 1.246 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.4298, allocations: 419.6 kB / 1.247 GB, free: 2.23 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.3795/0.8093, allocations: 2.729 MB / 1.249 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008579/0.8102, allocations: 450.3 kB / 1.25 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000539/0.8108, allocations: 312.7 kB / 1.25 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.8108, allocations: 7.031 kB / 1.25 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004694/0.8113, allocations: 282.1 kB / 1.25 GB, free: 189 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.756e-06/0.8113, allocations: 0 / 1.25 GB, free: 189 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002206/0.8135, allocations: 1.15 MB / 1.252 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.8135, allocations: 56.64 kB / 1.252 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.815, allocations: 1.762 MB / 1.253 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.8151, allocations: 45.38 kB / 1.253 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.8154, allocations: 0.5261 MB / 1.254 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.697e-05/0.8154, allocations: 138.9 kB / 1.254 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.8156, allocations: 103 kB / 1.254 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.208e-05/0.8156, allocations: 330.4 kB / 1.254 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/0.816, allocations: 216.1 kB / 1.255 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.8164, allocations: 329.3 kB / 1.255 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006594/0.8171, allocations: 0.5186 MB / 1.255 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8171, allocations: 6.562 kB / 1.255 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001129/0.8182, allocations: 0.8018 MB / 1.256 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.8183, allocations: 8.781 kB / 1.256 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.8183, allocations: 2.906 kB / 1.256 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003238/0.8186, allocations: 140.1 kB / 1.256 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.8189, allocations: 102 kB / 1.256 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.8208, allocations: 2.605 MB / 1.259 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.8212, allocations: 83.28 kB / 1.259 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.8212, allocations: 24.62 kB / 1.259 GB, free: 186.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002964/0.8215, allocations: 391.2 kB / 1.259 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.8216, allocations: 114.8 kB / 1.26 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.8218, allocations: 137.4 kB / 1.26 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.8218, allocations: 9.312 kB / 1.26 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.8218, allocations: 2.656 kB / 1.26 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8218, allocations: 3.422 kB / 1.26 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.8236, allocations: 1.492 MB / 1.261 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.8236, allocations: 0 / 1.261 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.8238, allocations: 41.55 kB / 1.261 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000317/0.8241, allocations: 164 kB / 1.261 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.8242, allocations: 16.86 kB / 1.261 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002432/0.8266, allocations: 4.035 MB / 1.265 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8266, allocations: 0 / 1.265 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.828, allocations: 0.995 MB / 1.266 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.8281, allocations: 207.5 kB / 1.267 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.242e-05/0.8282, allocations: 14.61 kB / 1.267 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.8285, allocations: 33.88 kB / 1.267 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.8286, allocations: 55.22 kB / 1.267 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.8287, allocations: 17.25 kB / 1.267 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00105/0.8297, allocations: 1.285 MB / 1.268 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8298, allocations: 0 / 1.268 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006391/0.8304, allocations: 211 kB / 1.268 GB, free: 181.2 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: 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,12,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.003056/0.8335, allocations: 1.905 MB / 1.27 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.8347, allocations: 0.6994 MB / 1.271 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8347, allocations: 0 / 1.271 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006505/0.8353, allocations: 0.5233 MB / 1.271 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008604/0.8362, allocations: 202.8 kB / 1.271 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.8463, allocations: 9.326 MB / 1.28 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.8469, allocations: 1.152 MB / 1.282 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002669/0.8472, allocations: 94.53 kB / 1.282 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/0.8475, allocations: 406.4 kB / 1.282 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.8475, allocations: 0 / 1.282 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.611/2.459, allocations: 20.16 MB / 1.302 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/2.459, allocations: 280.9 kB / 1.302 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.139/5.597, allocations: 3.938 kB / 1.302 GB, free: 163.3 MB / 0.9981 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)