Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.001212/0.001212, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001402/0.001402, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.527/2.527, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.665/0.6654, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.000978/0.6664, allocations: 0.9669 MB / 0.9545 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.6674, allocations: 0.9476 MB / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.934e-05/0.6675, allocations: 0 / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.347e-06/0.6675, allocations: 0 / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.6678, allocations: 86.53 kB / 0.9555 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.204e-06/0.6678, allocations: 0 / 0.9555 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.639e-05/0.6678, allocations: 1.781 kB / 0.9555 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.6679, allocations: 0 / 0.9555 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.408e-05/0.6679, allocations: 1.5 kB / 0.9555 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.964e-05/0.668, allocations: 10.83 kB / 0.9556 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.873e-06/0.668, allocations: 0 / 0.9556 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.6682, allocations: 91.23 kB / 0.9556 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.537e-06/0.6682, allocations: 0 / 0.9556 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.154e-05/0.6682, allocations: 25.7 kB / 0.9557 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.6683, allocations: 74.09 kB / 0.9557 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.6683, allocations: 4.812 kB / 0.9557 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6683, allocations: 0 / 0.9557 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.6683, allocations: 0 / 0.9557 GB, free: 6.434 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0001997/0.6685, allocations: 341.9 kB / 0.9561 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.6686, allocations: 9.875 kB / 0.9561 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.356e-05/0.6686, allocations: 113.8 kB / 0.9562 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.6687, allocations: 80.33 kB / 0.9563 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.723e-05/0.6688, allocations: 249.5 kB / 0.9565 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.6688, allocations: 154.5 kB / 0.9566 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.6688, allocations: 151.6 kB / 0.9568 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.178e-05/0.6688, allocations: 102.2 kB / 0.9569 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.6689, allocations: 79.28 kB / 0.957 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.6689, allocations: 150.6 kB / 0.9571 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.6689, allocations: 151.6 kB / 0.9573 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.974e-05/0.6689, allocations: 154.5 kB / 0.9574 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.6691, allocations: 447.2 kB / 0.9578 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.314e-05/0.6691, allocations: 170.6 kB / 0.958 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.6692, allocations: 75.28 kB / 0.9581 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.6692, allocations: 111.3 kB / 0.9582 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.6692, allocations: 0 / 0.9582 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.726e-05/0.6693, allocations: 39.05 kB / 0.9582 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.6693, allocations: 130.7 kB / 0.9583 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.758e-05/0.6694, allocations: 92.95 kB / 0.9584 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.6694, allocations: 26.8 kB / 0.9584 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.593e-05/0.6694, allocations: 80.14 kB / 0.9585 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-06/0.6694, allocations: 0 / 0.9585 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.6694, allocations: 1 kB / 0.9585 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.6695, allocations: 318.8 kB / 0.9588 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-06/0.6695, allocations: 5.031 kB / 0.9588 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-06/0.6695, allocations: 4.125 kB / 0.9588 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.38e-05/0.6695, allocations: 76.41 kB / 0.9589 GB, free: 3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.6695, allocations: 75.28 kB / 0.959 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.493e-05/0.6696, allocations: 31.91 kB / 0.959 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.6696, allocations: 84.41 kB / 0.9591 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.6696, allocations: 76.62 kB / 0.9592 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/0.6697, allocations: 155.5 kB / 0.9593 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.471e-05/0.6697, allocations: 84.41 kB / 0.9594 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.19e-05/0.6697, allocations: 150.6 kB / 0.9595 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.6698, allocations: 88.36 kB / 0.9596 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.6698, allocations: 80.19 kB / 0.9597 GB, free: 2.191 MB / 0.7169 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 (0): * Single equations (assignments): 0 * 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 6.796e-05/0.6699, allocations: 261.5 kB / 0.9599 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.6699, allocations: 103.5 kB / 0.96 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.6699, allocations: 115.8 kB / 0.9602 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/0.67, allocations: 181.7 kB / 0.9603 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.683e-05/0.67, allocations: 181.3 kB / 0.9605 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/0.67, allocations: 181.2 kB / 0.9607 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.6702, allocations: 403.3 kB / 0.9611 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.6702, allocations: 112.9 kB / 0.9612 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.424e-05/0.6702, allocations: 102 kB / 0.9613 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.63e-05/0.6702, allocations: 185.2 kB / 0.9614 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.6703, allocations: 181.3 kB / 0.9616 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.891e-05/0.6703, allocations: 178.1 kB / 0.9618 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.688e-05/0.6704, allocations: 184.2 kB / 0.962 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.6706, allocations: 315.9 kB / 0.9623 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.6706, allocations: 179.2 kB / 0.9624 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.6707, allocations: 181.5 kB / 0.9626 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.6708, allocations: 110.1 kB / 0.9627 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.6709, allocations: 181.4 kB / 0.9629 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/0.6709, allocations: 104.9 kB / 0.963 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.481e-05/0.671, allocations: 82.16 kB / 0.9631 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.671, allocations: 0 / 0.9631 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003277/0.6713, allocations: 36.61 kB / 0.9631 GB, free: 14.53 MB / 0.7325 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 (0): * Single equations (assignments): 0 * 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.0009036/0.6722, allocations: 0.9407 MB / 0.964 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.407e-05/0.6723, allocations: 5.422 kB / 0.964 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6723, allocations: 0 / 0.964 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.6723, allocations: 1.062 kB / 0.964 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.6726, allocations: 0.5276 MB / 0.9645 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006291/0.6732, allocations: 0.5169 MB / 0.965 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.6735, allocations: 0.6714 MB / 0.9657 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.688e-06/0.6735, allocations: 5.062 kB / 0.9657 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.6735, allocations: 19.67 kB / 0.9657 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.6735, allocations: 3.938 kB / 0.9657 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01214/0.6857, allocations: 1.645 MB / 0.9673 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.6859, allocations: 252.3 kB / 0.9676 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.306, allocations: 0 / 0.9676 GB, free: 10.77 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat does not exist to compare? outputFormat=mat