Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.TestCase11,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",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.007374/0.007374, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001721/0.001721, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6728/0.6741, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.1794/0.8535, allocations: 158.3 MB / 1.242 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02703/0.8806, allocations: 22.24 MB / 1.264 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.8828, allocations: 71.62 kB / 1.264 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.8851, allocations: 1.972 MB / 1.266 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.8869, allocations: 1.327 MB / 1.267 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.8883, allocations: 0.6815 MB / 1.268 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001696/0.89, allocations: 1.962 MB / 1.27 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.8912, allocations: 1.152 MB / 1.271 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008092/0.892, allocations: 0.884 MB / 1.272 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.8933, allocations: 1.448 MB / 1.273 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.8935, allocations: 104 kB / 1.273 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.8938, allocations: 159.8 kB / 1.273 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003738/0.8942, allocations: 0.5272 MB / 1.274 GB, free: 14.92 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006077/0.8948, allocations: 0.8186 MB / 1.275 GB, free: 14.1 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.8965, allocations: 1.969 MB / 1.277 GB, free: 12.12 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.8965, allocations: 4 kB / 1.277 GB, free: 12.12 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.925e-06/0.8965, allocations: 0 / 1.277 GB, free: 12.12 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.755e-05/0.8965, allocations: 3.938 kB / 1.277 GB, free: 12.11 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003337/0.8998, allocations: 2.377 MB / 1.279 GB, free: 9.672 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.8999, allocations: 12.03 kB / 1.279 GB, free: 9.66 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/0.9, allocations: 123 kB / 1.279 GB, free: 9.531 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003193/0.9004, allocations: 241.9 kB / 1.279 GB, free: 9.293 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.9018, allocations: 1.07 MB / 1.28 GB, free: 8.152 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.9019, allocations: 99.69 kB / 1.28 GB, free: 8.051 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.9021, allocations: 84 kB / 1.28 GB, free: 7.969 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.9035, allocations: 0.869 MB / 1.281 GB, free: 7.066 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.9035, allocations: 0 / 1.281 GB, free: 7.066 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.707e-05/0.9036, allocations: 39.98 kB / 1.281 GB, free: 7.027 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.9036, allocations: 20 kB / 1.281 GB, free: 7.008 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.9049, allocations: 0.6401 MB / 1.282 GB, free: 6.367 MB / 1.014 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.004985/0.9099, allocations: 4.161 MB / 1.286 GB, free: 1.898 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.9114, allocations: 0.7141 MB / 1.287 GB, free: 1.172 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007896/0.9122, allocations: 411.3 kB / 1.287 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.854e-05/0.9123, allocations: 12.66 kB / 1.287 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007859/0.9131, allocations: 432.2 kB / 1.288 GB, free: 332 kB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 2.355e-06/0.9131, allocations: 0 / 1.288 GB, free: 332 kB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.006012/0.9191, allocations: 2.111 MB / 1.29 GB, free: 14.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.9192, allocations: 85.77 kB / 1.29 GB, free: 14.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003096/0.9223, allocations: 3.203 MB / 1.293 GB, free: 10.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.66e-05/0.9223, allocations: 45.7 kB / 1.293 GB, free: 10.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007505/0.9231, allocations: 0.9606 MB / 1.294 GB, free: 9.809 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.9233, allocations: 248.5 kB / 1.294 GB, free: 9.562 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.9235, allocations: 162.6 kB / 1.294 GB, free: 9.398 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.9236, allocations: 341.9 kB / 1.295 GB, free: 9.059 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006811/0.9243, allocations: 305.8 kB / 1.295 GB, free: 8.758 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007684/0.9251, allocations: 473.4 kB / 1.295 GB, free: 8.242 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.9264, allocations: 0.7382 MB / 1.296 GB, free: 7.457 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.9264, allocations: 3.938 kB / 1.296 GB, free: 7.453 MB / 1.029 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002334/0.9288, allocations: 1.234 MB / 1.297 GB, free: 6.207 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.9288, allocations: 8 kB / 1.297 GB, free: 6.199 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.9288, allocations: 4 kB / 1.297 GB, free: 6.195 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009643/0.9298, allocations: 327 kB / 1.298 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.9303, allocations: 131.8 kB / 1.298 GB, free: 5.746 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005884/0.9362, allocations: 4.066 MB / 1.302 GB, free: 1.547 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007868/0.937, allocations: 99.23 kB / 1.302 GB, free: 1.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.9371, allocations: 32 kB / 1.302 GB, free: 1.418 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 34 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.setTemp.nextTimeEvent,$whenCondition4,$whenCondition2,cha.u,$PRE.cha.u,thr.y,timer.entryTime,$PRE.timer.entryTime,not1.y,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,hysteresis.y,$PRE.hysteresis.y,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,$whenCondition1,$whenCondition3,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.0008335/0.9379, allocations: 0.5979 MB / 1.302 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.9381, allocations: 201.4 kB / 1.303 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000348/0.9385, allocations: 257.5 kB / 1.303 GB, free: 364 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.9385, allocations: 11.94 kB / 1.303 GB, free: 352 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.9385, allocations: 0 / 1.303 GB, free: 352 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.9385, allocations: 7.922 kB / 1.303 GB, free: 344 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003904/0.9424, allocations: 2.405 MB / 1.305 GB, free: 13.86 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.9425, allocations: 0 / 1.305 GB, free: 13.86 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.9428, allocations: 67.89 kB / 1.305 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009152/0.9437, allocations: 341.4 kB / 1.306 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.9438, allocations: 23.98 kB / 1.306 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006735/0.9505, allocations: 5.533 MB / 1.311 GB, free: 7.621 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9505, allocations: 3.938 kB / 1.311 GB, free: 7.617 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.9534, allocations: 1.569 MB / 1.312 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000459/0.9539, allocations: 318.3 kB / 1.313 GB, free: 5.695 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.954, allocations: 23.92 kB / 1.313 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/0.9545, allocations: 43.95 kB / 1.313 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.9547, allocations: 100.5 kB / 1.313 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.9548, allocations: 23.98 kB / 1.313 GB, free: 5.508 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002308/0.9571, allocations: 2.341 MB / 1.315 GB, free: 3.152 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9571, allocations: 0 / 1.315 GB, free: 3.152 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009873/0.9581, allocations: 327.4 kB / 1.316 GB, free: 2.832 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,timer.entryTime,thr.y,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004028/0.9622, allocations: 2.51 MB / 1.318 GB, free: 488 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00208/0.9643, allocations: 1.027 MB / 1.319 GB, free: 15.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9643, allocations: 8 kB / 1.319 GB, free: 15.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.9657, allocations: 0.7699 MB / 1.32 GB, free: 14.63 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.967, allocations: 309.5 kB / 1.32 GB, free: 14.33 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/0.9853, allocations: 13.83 MB / 1.334 GB, free: 248 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.9865, allocations: 1.536 MB / 1.335 GB, free: 14.67 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003996/0.9869, allocations: 127.2 kB / 1.335 GB, free: 14.54 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007425/0.9876, allocations: 0.7688 MB / 1.336 GB, free: 13.77 MB / 1.076 GB Notification: Performance of SimCode: time 6.31e-07/0.9877, allocations: 0 / 1.336 GB, free: 13.77 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.218/1.206, allocations: 35.98 MB / 1.371 GB, free: 10.2 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/16.55, allocations: 11.88 kB / 1.371 GB, free: 10.2 MB / 1.107 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-07 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)