Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_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.0009997/0.0009997, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001224/0.001224, allocations: 168.7 kB / 15.95 MB, free: 204 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.374/1.374, allocations: 223.2 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.463/2.463, allocations: 409.4 MB / 0.684 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003511, allocations: 11.94 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7204/0.7207, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001536/0.7223, allocations: 0.9711 MB / 0.9821 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.724, allocations: 0.9397 MB / 0.983 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.724, allocations: 0 / 0.983 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.7241, allocations: 0 / 0.983 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005824/0.7247, allocations: 83.73 kB / 0.9831 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.747e-06/0.7247, allocations: 4 kB / 0.9831 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.936e-05/0.7247, allocations: 4 kB / 0.9831 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.583e-05/0.7248, allocations: 0 / 0.9831 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.513e-05/0.7248, allocations: 3.938 kB / 0.9831 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.725, allocations: 7.984 kB / 0.9831 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.725, allocations: 0 / 0.9831 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.7253, allocations: 99.86 kB / 0.9832 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.749e-06/0.7253, allocations: 4 kB / 0.9832 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.7253, allocations: 25.7 kB / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.7256, allocations: 75.84 kB / 0.9833 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7256, allocations: 0 / 0.9833 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7256, allocations: 4 kB / 0.9833 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.7256, allocations: 0 / 0.9833 GB, free: 4.035 MB / 0.7325 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.0003309/0.7259, allocations: 347.3 kB / 0.9836 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.726, allocations: 8.031 kB / 0.9836 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.978e-05/0.726, allocations: 109.8 kB / 0.9837 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.7261, allocations: 75.28 kB / 0.9838 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.7263, allocations: 240.6 kB / 0.984 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.7263, allocations: 162.5 kB / 0.9842 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.7264, allocations: 150.6 kB / 0.9843 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.985e-05/0.7264, allocations: 108.9 kB / 0.9844 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.7265, allocations: 75.28 kB / 0.9845 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.7265, allocations: 150.6 kB / 0.9847 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.201e-05/0.7266, allocations: 154.6 kB / 0.9848 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.118e-05/0.7266, allocations: 150.6 kB / 0.985 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.7269, allocations: 453.9 kB / 0.9854 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.057e-05/0.727, allocations: 165.1 kB / 0.9855 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.727, allocations: 80.14 kB / 0.9856 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.7271, allocations: 83.22 kB / 0.9857 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.7271, allocations: 105.8 kB / 0.9858 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.7271, allocations: 4 kB / 0.9858 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.13e-05/0.7272, allocations: 37.64 kB / 0.9858 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.7273, allocations: 126.7 kB / 0.986 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.7274, allocations: 105.8 kB / 0.9861 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.7274, allocations: 25.7 kB / 0.9861 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.7275, allocations: 80.14 kB / 0.9862 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.7275, allocations: 0 / 0.9862 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-07/0.7275, allocations: 0 / 0.9862 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.7276, allocations: 310.8 kB / 0.9865 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-06/0.7276, allocations: 0 / 0.9865 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-06/0.7276, allocations: 0 / 0.9865 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.7276, allocations: 79.28 kB / 0.9865 GB, free: 500 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-05/0.7277, allocations: 79.41 kB / 0.9866 GB, free: 420 kB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.563e-05/0.7277, allocations: 29.72 kB / 0.9866 GB, free: 384 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.7278, allocations: 83.28 kB / 0.9867 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.075e-05/0.7278, allocations: 83.3 kB / 0.9868 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.751e-05/0.7279, allocations: 158.5 kB / 0.987 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.093e-05/0.728, allocations: 79.22 kB / 0.987 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.614e-05/0.728, allocations: 150.6 kB / 0.9872 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.7281, allocations: 87.22 kB / 0.9873 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.7281, allocations: 75.28 kB / 0.9873 GB, free: 15.67 MB / 0.7481 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 0.0001233/0.7283, allocations: 264.3 kB / 0.9876 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/0.7283, allocations: 105 kB / 0.9877 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.955e-05/0.7284, allocations: 112 kB / 0.9878 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.99e-05/0.7285, allocations: 180.3 kB / 0.988 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-05/0.7285, allocations: 184.2 kB / 0.9881 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.821e-05/0.7286, allocations: 180.3 kB / 0.9883 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.7289, allocations: 401.2 kB / 0.9887 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-05/0.7289, allocations: 104.9 kB / 0.9888 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.7289, allocations: 113 kB / 0.9889 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.29e-05/0.729, allocations: 184.2 kB / 0.9891 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.149e-05/0.7291, allocations: 180.2 kB / 0.9892 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.25e-05/0.7291, allocations: 180.3 kB / 0.9894 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.488e-05/0.7292, allocations: 184.2 kB / 0.9896 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.7293, allocations: 307.7 kB / 0.9899 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.7294, allocations: 190.1 kB / 0.9901 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.7295, allocations: 176.3 kB / 0.9902 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.7296, allocations: 104.9 kB / 0.9903 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.7296, allocations: 180.3 kB / 0.9905 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.7297, allocations: 108.9 kB / 0.9906 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.844e-05/0.7297, allocations: 87.17 kB / 0.9907 GB, free: 12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.7297, allocations: 0 / 0.9907 GB, free: 12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003229/0.73, allocations: 43.98 kB / 0.9907 GB, free: 11.95 MB / 0.7481 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.0007569/0.7308, allocations: 0.9383 MB / 0.9916 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 4.062e-05/0.7309, allocations: 3.938 kB / 0.9917 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7309, allocations: 0 / 0.9917 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.7309, allocations: 0 / 0.9917 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.7312, allocations: 0.5224 MB / 0.9922 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.7318, allocations: 0.5349 MB / 0.9927 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.7321, allocations: 0.6731 MB / 0.9933 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.185e-05/0.7321, allocations: 3.984 kB / 0.9933 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.7321, allocations: 11.44 kB / 0.9934 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.7321, allocations: 0 / 0.9934 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2005/0.9326, allocations: 1.659 MB / 0.995 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003394/0.933, allocations: 267.2 kB / 0.9952 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.668, allocations: 4 kB / 0.9952 GB, free: 7.363 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat does not exist to compare? outputFormat=mat