Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",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.306/2.306, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001205/0.001205, allocations: 180 kB / 0.4901 GB, free: 2.238 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.773/1.773, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.00111/0.00111, allocations: 100.1 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004655, allocations: 12.19 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3866, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.5816, allocations: 158.3 MB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.582, allocations: 99.94 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05393/0.6359, allocations: 16.63 MB / 1.4 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.395e-06/0.636, allocations: 0 / 1.4 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.74e-05/0.636, allocations: 11.98 kB / 1.4 GB, free: 10.29 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001746/0.6378, allocations: 0.7088 MB / 1.401 GB, free: 9.531 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.6379, allocations: 16.5 kB / 1.401 GB, free: 9.516 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.638, allocations: 62.53 kB / 1.401 GB, free: 9.445 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09654/0.7345, allocations: 11.07 MB / 1.412 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01576/0.7504, allocations: 2.496 MB / 1.414 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.006e-05/0.7505, allocations: 24.56 kB / 1.414 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004906/0.751, allocations: 28.22 kB / 1.414 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006027/0.757, allocations: 1.515 MB / 1.416 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.757, allocations: 7.922 kB / 1.416 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.7572, allocations: 12 kB / 1.416 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.7572, allocations: 7.953 kB / 1.416 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005448/0.7627, allocations: 1.286 MB / 1.417 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007452/0.7701, allocations: 5.464 MB / 1.422 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005431/0.7756, allocations: 1.228 MB / 1.424 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.7757, allocations: 35.97 kB / 1.424 GB, free: 1.164 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.7758, allocations: 38.52 kB / 1.424 GB, free: 1.117 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=22): time 2.855e-06/0.7758, allocations: 0 / 1.424 GB, free: 1.117 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22): time 0.7755/1.551, allocations: 3.503 MB / 1.427 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/1.551, allocations: 54.53 kB / 1.427 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/1.552, allocations: 296.2 kB / 1.427 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000325/1.552, allocations: 31.36 kB / 1.427 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/1.552, allocations: 203.2 kB / 1.428 GB, free: 183.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/1.552, allocations: 74.97 kB / 1.428 GB, free: 183.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/1.553, allocations: 2.812 kB / 1.428 GB, free: 183.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/1.553, allocations: 342.2 kB / 1.428 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01081/1.564, allocations: 2.113 MB / 1.43 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/1.574, allocations: 2.176 MB / 1.432 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/1.585, allocations: 1.957 MB / 1.434 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.585, allocations: 0 / 1.434 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.02231/1.608, allocations: 4.328 MB / 1.438 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.608, allocations: 194.5 kB / 1.439 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01845/1.626, allocations: 3.626 MB / 1.442 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.777e-05/1.626, allocations: 6.156 kB / 1.442 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009013/1.635, allocations: 0.9458 MB / 1.443 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.296e-05/1.635, allocations: 5.562 kB / 1.443 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008114/1.644, allocations: 0.796 MB / 1.444 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003841/1.644, allocations: 73.34 kB / 1.444 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/1.644, allocations: 4.344 kB / 1.444 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02183/1.666, allocations: 4.28 MB / 1.448 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01772/1.684, allocations: 3.638 MB / 1.452 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/1.684, allocations: 0 / 1.452 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008034/1.692, allocations: 0.9517 MB / 1.453 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.692, allocations: 0 / 1.453 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007617/1.699, allocations: 0.7961 MB / 1.453 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000392/1.7, allocations: 78.5 kB / 1.453 GB, free: 181.9 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007557/1.701, allocations: 218.3 kB / 1.454 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/1.701, allocations: 39.02 kB / 1.454 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00842/1.709, allocations: 1.975 MB / 1.456 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.709, allocations: 7.844 kB / 1.456 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/1.709, allocations: 0.5 kB / 1.456 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.709, allocations: 0 / 1.456 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/1.711, allocations: 1.092 MB / 1.457 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0056/1.716, allocations: 1.368 MB / 1.458 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002505/1.719, allocations: 332 kB / 1.458 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/1.719, allocations: 3.969 kB / 1.458 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-05/1.719, allocations: 33.36 kB / 1.458 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/1.719, allocations: 0 / 1.458 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.719, allocations: 3.953 kB / 1.458 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005725/1.725, allocations: 1.522 MB / 1.46 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/1.725, allocations: 235.6 kB / 1.46 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/1.725, allocations: 7.812 kB / 1.46 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/1.727, allocations: 242 kB / 1.46 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/1.728, allocations: 24.67 kB / 1.46 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.349e-05/1.728, allocations: 37.05 kB / 1.46 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002328/1.728, allocations: 225.8 kB / 1.461 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/1.728, allocations: 0 / 1.461 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00179/1.73, allocations: 376.5 kB / 1.461 GB, free: 179.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (36): * Single equations (assignments): 36 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006581/1.736, allocations: 2.147 MB / 1.463 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01954/1.756, allocations: 4.477 MB / 1.467 GB, free: 175 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.756, allocations: 0 / 1.467 GB, free: 175 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002872/1.759, allocations: 0.7193 MB / 1.468 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/1.759, allocations: 77.5 kB / 1.468 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004695/1.764, allocations: 1.795 MB / 1.47 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/1.764, allocations: 0.8101 MB / 1.471 GB, free: 172 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004523/1.769, allocations: 0.7083 MB / 1.471 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.77, allocations: 230.8 kB / 1.472 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.573e-06/1.77, allocations: 2.812 kB / 1.472 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08189/1.852, allocations: 41.15 MB / 1.512 GB, free: 130.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/1.852, allocations: 205.1 kB / 1.512 GB, free: 130.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.974/6.827, allocations: 0 / 1.512 GB, free: 130.1 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat does not exist to compare? outputFormat=mat