Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.204/2.204, allocations: 393.5 MB / 408.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 194.5 kB / 0.4902 GB, free: 2.215 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.771/1.771, allocations: 223.1 MB / 0.7992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 90.33 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 14.03 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3107, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2089/0.5197, allocations: 160 MB / 1.386 GB, free: 9.473 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.52, allocations: 87.95 kB / 1.386 GB, free: 9.387 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.06406/0.5841, allocations: 23.19 MB / 1.408 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5841, allocations: 0 / 1.408 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.185e-05/0.5842, allocations: 16 kB / 1.408 GB, free: 2.027 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.002112/0.5863, allocations: 1.077 MB / 1.409 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5864, allocations: 12.56 kB / 1.409 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.5865, allocations: 90.47 kB / 1.409 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009538/0.5875, allocations: 210.5 kB / 1.41 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.5886, allocations: 0.5155 MB / 1.41 GB, free: 28 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.937e-05/0.5886, allocations: 33 kB / 1.41 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.062e-05/0.5887, allocations: 40 kB / 1.41 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.5897, allocations: 482 kB / 1.411 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.5898, allocations: 0 / 1.411 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.596e-05/0.5898, allocations: 23.95 kB / 1.411 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.5898, allocations: 12 kB / 1.411 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009643/0.5908, allocations: 395.8 kB / 1.411 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.5938, allocations: 1.49 MB / 1.413 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006364/0.5944, allocations: 275.2 kB / 1.413 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.5945, allocations: 8.172 kB / 1.413 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.5945, allocations: 30.8 kB / 1.413 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=28): time 1.854e-06/0.5945, allocations: 0 / 1.413 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=28): time 0.001941/0.5965, allocations: 0.6835 MB / 1.413 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.5965, allocations: 89.11 kB / 1.414 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.5978, allocations: 0.8011 MB / 1.414 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.5978, allocations: 33.7 kB / 1.414 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.5982, allocations: 424.1 kB / 1.415 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.45e-05/0.5982, allocations: 98.72 kB / 1.415 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.5983, allocations: 4 kB / 1.415 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5984, allocations: 318 kB / 1.415 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.5988, allocations: 140.4 kB / 1.415 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.5992, allocations: 176.8 kB / 1.415 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.5996, allocations: 153.8 kB / 1.416 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5996, allocations: 0 / 1.416 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001172/0.6008, allocations: 0.4937 MB / 1.416 GB, free: 9.68 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.065e-05/0.6008, allocations: 97.06 kB / 1.416 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.6009, allocations: 4 kB / 1.416 GB, free: 9.574 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004306/0.6013, allocations: 84.78 kB / 1.416 GB, free: 9.488 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.6017, allocations: 71.94 kB / 1.416 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000506/0.6022, allocations: 0.6148 MB / 1.417 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/0.6029, allocations: 95.55 kB / 1.417 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.603, allocations: 8 kB / 1.417 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.603, allocations: 0 / 1.417 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00106/0.604, allocations: 408.6 kB / 1.417 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.6041, allocations: 4 kB / 1.417 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003297/0.6044, allocations: 76.8 kB / 1.418 GB, free: 8.191 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.6048, allocations: 79.88 kB / 1.418 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.6064, allocations: 1.672 MB / 1.419 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006103/0.607, allocations: 71.61 kB / 1.419 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.607, allocations: 12 kB / 1.419 GB, free: 6.227 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004593/0.6075, allocations: 329.8 kB / 1.42 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.6077, allocations: 90.88 kB / 1.42 GB, free: 5.805 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.6079, allocations: 97.05 kB / 1.42 GB, free: 5.707 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.6079, allocations: 8 kB / 1.42 GB, free: 5.699 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6079, allocations: 3.953 kB / 1.42 GB, free: 5.695 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.6079, allocations: 3.938 kB / 1.42 GB, free: 5.691 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.6097, allocations: 1.052 MB / 1.421 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6097, allocations: 0 / 1.421 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.6099, allocations: 47.91 kB / 1.421 GB, free: 4.523 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003304/0.6103, allocations: 84.92 kB / 1.421 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.6103, allocations: 4 kB / 1.421 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.6119, allocations: 1.671 MB / 1.423 GB, free: 2.633 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.6119, allocations: 4.031 kB / 1.423 GB, free: 2.629 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009819/0.6129, allocations: 0.5851 MB / 1.423 GB, free: 1.988 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.6132, allocations: 191.9 kB / 1.423 GB, free: 1.781 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.6134, allocations: 12 kB / 1.423 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.6138, allocations: 27.97 kB / 1.423 GB, free: 1.742 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.6139, allocations: 23.97 kB / 1.423 GB, free: 1.719 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.6139, allocations: 12 kB / 1.423 GB, free: 1.707 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001027/0.615, allocations: 0.6571 MB / 1.424 GB, free: 1.039 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.6e-07/0.615, allocations: 0 / 1.424 GB, free: 1.039 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000823/0.6158, allocations: 275.4 kB / 1.424 GB, free: 0.7695 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.571/1.187, allocations: 1.662 MB / 1.426 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001538/1.188, allocations: 0.5979 MB / 1.427 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.188, allocations: 0 / 1.427 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003698/1.189, allocations: 275.4 kB / 1.427 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000868/1.19, allocations: 145.1 kB / 1.427 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00654/1.196, allocations: 4.699 MB / 1.432 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006352/1.197, allocations: 1.055 MB / 1.433 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004784/1.197, allocations: 74.66 kB / 1.433 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/1.198, allocations: 275 kB / 1.433 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of SimCode: time 1.383e-06/1.198, allocations: 3.938 kB / 1.433 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/1.239, allocations: 18.49 MB / 1.451 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001418/1.239, allocations: 235.3 kB / 1.451 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/3.972, allocations: 4.812 kB / 1.451 GB, free: 173.7 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat does not exist to compare? outputFormat=mat