Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TestCase3,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_9_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.004699/0.004699, allocations: 102 kB / 15.73 MB, free: 6.441 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.001143/0.001143, allocations: 198.3 kB / 16.67 MB, free: 6.355 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.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.409/2.409, allocations: 390.3 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 58.94 kB / 0.9504 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3231, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1673/0.4904, allocations: 156.7 MB / 1.241 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.579/1.069, allocations: 21.73 MB / 1.262 GB, free: 3.184 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/1.071, allocations: 55.94 kB / 1.262 GB, free: 3.184 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001869/1.073, allocations: 1.161 MB / 1.263 GB, free: 3.184 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00179/1.075, allocations: 0.8603 MB / 1.264 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/1.076, allocations: 444.4 kB / 1.264 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001732/1.078, allocations: 1.255 MB / 1.265 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009118/1.079, allocations: 0.6872 MB / 1.266 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/1.08, allocations: 0.5518 MB / 1.267 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/1.081, allocations: 0.913 MB / 1.268 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/1.081, allocations: 70.52 kB / 1.268 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/1.082, allocations: 106.3 kB / 1.268 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003563/1.082, allocations: 321.8 kB / 1.268 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006052/1.083, allocations: 493.6 kB / 1.268 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/1.084, allocations: 1.195 MB / 1.27 GB, free: 3.02 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.084, allocations: 1.469 kB / 1.27 GB, free: 3.02 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/1.084, allocations: 1.797 kB / 1.27 GB, free: 3.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.921e-05/1.084, allocations: 0.8438 kB / 1.27 GB, free: 3.02 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002553/1.087, allocations: 1.476 MB / 1.271 GB, free: 2.152 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/1.087, allocations: 9.984 kB / 1.271 GB, free: 2.152 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/1.087, allocations: 89.17 kB / 1.271 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/1.087, allocations: 136.3 kB / 1.271 GB, free: 2.043 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009324/1.088, allocations: 0.6634 MB / 1.272 GB, free: 1.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/1.088, allocations: 72.19 kB / 1.272 GB, free: 1.629 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/1.089, allocations: 49.75 kB / 1.272 GB, free: 1.629 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/1.09, allocations: 0.5165 MB / 1.273 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/1.09, allocations: 1.156 kB / 1.273 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/1.09, allocations: 20.56 kB / 1.273 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/1.09, allocations: 10.53 kB / 1.273 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/1.091, allocations: 417 kB / 1.273 GB, free: 1.562 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.004109/1.095, allocations: 2.724 MB / 1.276 GB, free: 16.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/1.096, allocations: 442.1 kB / 1.276 GB, free: 16.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000686/1.097, allocations: 310.3 kB / 1.276 GB, free: 16.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.984e-05/1.097, allocations: 7.156 kB / 1.276 GB, free: 16.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005607/1.097, allocations: 287.8 kB / 1.277 GB, free: 16.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 2.695e-06/1.097, allocations: 0 / 1.277 GB, free: 16.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.003019/1.1, allocations: 1.151 MB / 1.278 GB, free: 15.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/1.1, allocations: 58.7 kB / 1.278 GB, free: 15.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/1.103, allocations: 1.76 MB / 1.28 GB, free: 15.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.168e-05/1.103, allocations: 41.08 kB / 1.28 GB, free: 15.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/1.103, allocations: 0.5268 MB / 1.28 GB, free: 15.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/1.103, allocations: 146.3 kB / 1.28 GB, free: 15.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/1.104, allocations: 98.81 kB / 1.28 GB, free: 15.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.104, allocations: 325.5 kB / 1.281 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005498/1.104, allocations: 212.9 kB / 1.281 GB, free: 14.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/1.105, allocations: 334.7 kB / 1.281 GB, free: 14.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009266/1.106, allocations: 0.5198 MB / 1.282 GB, free: 14.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.106, allocations: 1.438 kB / 1.282 GB, free: 14.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001689/1.108, allocations: 0.8071 MB / 1.282 GB, free: 14.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.108, allocations: 7.469 kB / 1.282 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/1.108, allocations: 6.938 kB / 1.282 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004557/1.108, allocations: 141 kB / 1.283 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/1.109, allocations: 101.6 kB / 1.283 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/1.112, allocations: 2.606 MB / 1.285 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006368/1.112, allocations: 75.5 kB / 1.285 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/1.113, allocations: 24.41 kB / 1.285 GB, free: 12.98 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: 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.0007006/1.113, allocations: 387.9 kB / 1.286 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/1.113, allocations: 116.1 kB / 1.286 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/1.114, allocations: 141.8 kB / 1.286 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/1.114, allocations: 9.094 kB / 1.286 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/1.114, allocations: 2.656 kB / 1.286 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.114, allocations: 3.203 kB / 1.286 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/1.117, allocations: 1.486 MB / 1.287 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.117, allocations: 3.938 kB / 1.287 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/1.117, allocations: 46.97 kB / 1.287 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004052/1.117, allocations: 165 kB / 1.288 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/1.117, allocations: 12.83 kB / 1.288 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003723/1.121, allocations: 4.025 MB / 1.292 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.121, allocations: 2.031 kB / 1.292 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/1.123, allocations: 0.9895 MB / 1.293 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/1.123, allocations: 213 kB / 1.293 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/1.123, allocations: 12.91 kB / 1.293 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/1.124, allocations: 30.34 kB / 1.293 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/1.124, allocations: 50 kB / 1.293 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/1.124, allocations: 16.5 kB / 1.293 GB, free: 9.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001592/1.126, allocations: 1.29 MB / 1.294 GB, free: 9.051 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.126, allocations: 0 / 1.294 GB, free: 9.051 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008961/1.127, allocations: 197.6 kB / 1.294 GB, free: 9.031 MB / 1.029 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.003132/1.13, allocations: 1.917 MB / 1.296 GB, free: 8.176 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001449/1.131, allocations: 0.6635 MB / 1.297 GB, free: 8.047 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.131, allocations: 0 / 1.297 GB, free: 8.047 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008749/1.132, allocations: 0.5236 MB / 1.297 GB, free: 7.805 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/1.133, allocations: 208.6 kB / 1.298 GB, free: 7.773 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/1.147, allocations: 8.487 MB / 1.306 GB, free: 5.422 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008221/1.148, allocations: 1.154 MB / 1.307 GB, free: 4.707 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004102/1.148, allocations: 96.19 kB / 1.307 GB, free: 4.691 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/1.148, allocations: 408.2 kB / 1.307 GB, free: 4.684 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/1.148, allocations: 0 / 1.307 GB, free: 4.684 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04649/1.195, allocations: 20.85 MB / 1.328 GB, free: 2.504 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.53, allocations: 12.02 kB / 1.328 GB, free: 2.496 MB / 1.029 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)