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.002234/0.002235, allocations: 99.62 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.003331/0.003331, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.805/2.805, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.592/4.592, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 8 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42/1.421, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001653/1.423, allocations: 0.9645 MB / 0.9818 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001993/1.425, allocations: 0.9438 MB / 0.9827 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/1.425, allocations: 7.875 kB / 0.9827 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/1.425, allocations: 0 / 0.9827 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000472/1.425, allocations: 79.73 kB / 0.9828 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.72e-06/1.425, allocations: 4 kB / 0.9828 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.57e-05/1.425, allocations: 3.984 kB / 0.9828 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.65e-05/1.425, allocations: 7.938 kB / 0.9828 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.844e-05/1.425, allocations: 0 / 0.9828 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/1.425, allocations: 0 / 0.9828 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.575e-06/1.425, allocations: 4 kB / 0.9828 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/1.426, allocations: 83.91 kB / 0.9829 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.458e-06/1.426, allocations: 4 kB / 0.9829 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/1.426, allocations: 29.7 kB / 0.9829 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/1.426, allocations: 75.8 kB / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/1.426, allocations: 0 / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.824e-06/1.426, allocations: 0 / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.138e-06/1.426, allocations: 0 / 0.983 GB, free: 4.031 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.0004116/1.426, allocations: 347.3 kB / 0.9833 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.426, allocations: 8.031 kB / 0.9834 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.554e-05/1.427, allocations: 105.8 kB / 0.9835 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.453e-05/1.427, allocations: 79.28 kB / 0.9835 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/1.427, allocations: 248.6 kB / 0.9838 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.118e-05/1.427, allocations: 154.6 kB / 0.9839 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.967e-05/1.427, allocations: 150.6 kB / 0.9841 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.997e-05/1.427, allocations: 108.9 kB / 0.9842 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/1.427, allocations: 75.28 kB / 0.9842 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.118e-05/1.427, allocations: 158.5 kB / 0.9844 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.45e-05/1.427, allocations: 150.6 kB / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.907e-05/1.427, allocations: 158.5 kB / 0.9847 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/1.428, allocations: 445.9 kB / 0.9851 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/1.428, allocations: 169.1 kB / 0.9853 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/1.428, allocations: 75.28 kB / 0.9853 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/1.428, allocations: 113.8 kB / 0.9854 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/1.428, allocations: 0 / 0.9854 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.434e-05/1.428, allocations: 29.66 kB / 0.9855 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/1.428, allocations: 130.7 kB / 0.9856 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/1.428, allocations: 101.8 kB / 0.9857 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/1.428, allocations: 25.7 kB / 0.9857 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/1.428, allocations: 80.14 kB / 0.9858 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/1.428, allocations: 0 / 0.9858 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-07/1.428, allocations: 0 / 0.9858 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.429, allocations: 310.8 kB / 0.9861 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-06/1.429, allocations: 0 / 0.9861 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-06/1.429, allocations: 3.938 kB / 0.9861 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/1.429, allocations: 87.34 kB / 0.9862 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.248e-05/1.429, allocations: 75.28 kB / 0.9863 GB, free: 496 kB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.344e-05/1.429, allocations: 33.75 kB / 0.9863 GB, free: 456 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.335e-05/1.429, allocations: 83.28 kB / 0.9864 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.302e-05/1.429, allocations: 79.36 kB / 0.9864 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.706e-05/1.429, allocations: 162.5 kB / 0.9866 GB, free: 128 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.222e-05/1.429, allocations: 79.23 kB / 0.9867 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.531e-05/1.429, allocations: 162.5 kB / 0.9868 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/1.429, allocations: 75.28 kB / 0.9869 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/1.429, allocations: 79.28 kB / 0.987 GB, free: 15.73 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.0001377/1.429, allocations: 262 kB / 0.9872 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.545e-05/1.429, allocations: 108.9 kB / 0.9873 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/1.43, allocations: 112.1 kB / 0.9874 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-05/1.43, allocations: 180.2 kB / 0.9876 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.287e-05/1.43, allocations: 180.2 kB / 0.9878 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.893e-05/1.43, allocations: 180.3 kB / 0.988 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/1.43, allocations: 409.1 kB / 0.9883 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.701e-05/1.43, allocations: 101 kB / 0.9884 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/1.43, allocations: 112.9 kB / 0.9885 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.197e-05/1.43, allocations: 176.3 kB / 0.9887 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.011e-05/1.43, allocations: 188.2 kB / 0.9889 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.847e-05/1.43, allocations: 180.2 kB / 0.9891 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.935e-05/1.431, allocations: 180.3 kB / 0.9892 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/1.431, allocations: 311.7 kB / 0.9895 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.912e-05/1.431, allocations: 182.1 kB / 0.9897 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.571e-05/1.431, allocations: 180.2 kB / 0.9899 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/1.431, allocations: 101 kB / 0.99 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.431, allocations: 184.2 kB / 0.9902 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/1.431, allocations: 109 kB / 0.9903 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.853e-05/1.431, allocations: 79.28 kB / 0.9903 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/1.431, allocations: 0 / 0.9903 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005612/1.432, allocations: 43.94 kB / 0.9904 GB, free: 12.03 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.001032/1.433, allocations: 0.9472 MB / 0.9913 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 3.884e-05/1.433, allocations: 0 / 0.9913 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.433, allocations: 0 / 0.9913 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/1.433, allocations: 0 / 0.9913 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/1.433, allocations: 0.5263 MB / 0.9918 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008596/1.434, allocations: 0.5232 MB / 0.9923 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/1.435, allocations: 0.677 MB / 0.993 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.309e-05/1.435, allocations: 0 / 0.993 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/1.435, allocations: 11.38 kB / 0.993 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of SimCode: time 4.71e-07/1.435, allocations: 4.094 kB / 0.993 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5196/1.954, allocations: 1.636 MB / 0.9946 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003924/1.955, allocations: 263.2 kB / 0.9948 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/4.591, allocations: 0 / 0.9948 GB, free: 7.469 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