Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.001168/0.001168, allocations: 108 kB / 15.6 MB, free: 132 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.001141/0.001141, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.45/2.45, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001503, allocations: 63.91 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6212/0.6227, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1575/0.7803, allocations: 156.8 MB / 1.17 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02438/0.8047, allocations: 21.74 MB / 1.192 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.8064, allocations: 55.69 kB / 1.192 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.8081, allocations: 1.161 MB / 1.193 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.8097, allocations: 0.8523 MB / 1.194 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.8108, allocations: 442.4 kB / 1.194 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.8123, allocations: 1.251 MB / 1.195 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.8134, allocations: 0.6852 MB / 1.196 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009165/0.8143, allocations: 0.5452 MB / 1.197 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.8155, allocations: 0.9138 MB / 1.197 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.8157, allocations: 68 kB / 1.198 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.816, allocations: 108 kB / 1.198 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.8163, allocations: 324.7 kB / 1.198 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.8168, allocations: 496.8 kB / 1.198 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.818, allocations: 1.176 MB / 1.2 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8181, allocations: 4 kB / 1.2 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8181, allocations: 0 / 1.2 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.446e-05/0.8181, allocations: 0 / 1.2 GB, free: 7.266 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002571/0.8207, allocations: 1.478 MB / 1.201 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.8207, allocations: 12.03 kB / 1.201 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.8209, allocations: 86.7 kB / 1.201 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.8211, allocations: 131.3 kB / 1.201 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009444/0.822, allocations: 0.6586 MB / 1.202 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.8222, allocations: 66.69 kB / 1.202 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-05/0.8223, allocations: 48 kB / 1.202 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009579/0.8232, allocations: 0.5262 MB / 1.203 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.8233, allocations: 3.938 kB / 1.203 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.8233, allocations: 19.98 kB / 1.203 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.8233, allocations: 12 kB / 1.203 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008427/0.8242, allocations: 411.7 kB / 1.203 GB, free: 3.695 MB / 0.9512 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.003452/0.8277, allocations: 2.739 MB / 1.206 GB, free: 0.7188 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009872/0.8287, allocations: 447.6 kB / 1.206 GB, free: 280 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000668/0.8293, allocations: 301.9 kB / 1.206 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.8294, allocations: 4.656 kB / 1.206 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005844/0.83, allocations: 295.2 kB / 1.207 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=44): time 3.947e-06/0.83, allocations: 0 / 1.207 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44): time 0.002727/0.8327, allocations: 1.149 MB / 1.208 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.8328, allocations: 59.41 kB / 1.208 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/0.8348, allocations: 1.756 MB / 1.21 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.773e-05/0.8349, allocations: 41.69 kB / 1.21 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004609/0.8354, allocations: 0.5288 MB / 1.21 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.8355, allocations: 142 kB / 1.21 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.8356, allocations: 98.25 kB / 1.21 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.8358, allocations: 326 kB / 1.211 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.8362, allocations: 213 kB / 1.211 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/0.8368, allocations: 347.1 kB / 1.211 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008747/0.8377, allocations: 0.5146 MB / 1.212 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.8377, allocations: 0 / 1.212 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001534/0.8392, allocations: 0.8089 MB / 1.212 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.8393, allocations: 8 kB / 1.212 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.8393, allocations: 4 kB / 1.212 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004189/0.8397, allocations: 136.9 kB / 1.213 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.8401, allocations: 99.81 kB / 1.213 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002632/0.8427, allocations: 2.613 MB / 1.215 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.8432, allocations: 71.48 kB / 1.215 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.8432, allocations: 24 kB / 1.215 GB, free: 6.418 MB / 0.9669 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.0004662/0.8437, allocations: 387.3 kB / 1.216 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.8438, allocations: 118.4 kB / 1.216 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.8441, allocations: 139.8 kB / 1.216 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.8441, allocations: 8 kB / 1.216 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.8441, allocations: 4 kB / 1.216 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.8441, allocations: 3.984 kB / 1.216 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.8462, allocations: 1.496 MB / 1.217 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.8462, allocations: 0 / 1.217 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.8464, allocations: 47.91 kB / 1.217 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003659/0.8468, allocations: 170.8 kB / 1.218 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.8468, allocations: 11.98 kB / 1.218 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003325/0.8502, allocations: 4.022 MB / 1.222 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.8502, allocations: 0 / 1.222 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.8518, allocations: 0.9832 MB / 1.223 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.8521, allocations: 219.5 kB / 1.223 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.663e-05/0.8521, allocations: 19.92 kB / 1.223 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.8525, allocations: 31.97 kB / 1.223 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.8526, allocations: 51.86 kB / 1.223 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.8526, allocations: 20 kB / 1.223 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001261/0.8539, allocations: 1.285 MB / 1.224 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.382e-06/0.8539, allocations: 0 / 1.224 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006553/0.8546, allocations: 203.7 kB / 1.224 GB, free: 12.83 MB / 0.9825 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.002794/0.8574, allocations: 1.898 MB / 1.226 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.8587, allocations: 0.6956 MB / 1.227 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8587, allocations: 4 kB / 1.227 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.8595, allocations: 0.5287 MB / 1.227 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009014/0.8604, allocations: 203.3 kB / 1.228 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.8714, allocations: 9.06 MB / 1.236 GB, free: 148 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/0.8721, allocations: 1.146 MB / 1.238 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000304/0.8724, allocations: 100.7 kB / 1.238 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/0.8728, allocations: 407.3 kB / 1.238 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.8728, allocations: 0 / 1.238 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4853/1.358, allocations: 20.48 MB / 1.258 GB, free: 234 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.192/10.55, allocations: 7.344 kB / 1.258 GB, free: 234 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)