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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006384/0.006385, allocations: 98.45 kB / 15.73 MB, free: 6.059 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.001286/0.001286, allocations: 195.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.455/2.455, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 1.054 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8094/0.8108, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002287/0.8131, allocations: 1.235 MB / 1.208 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.8146, allocations: 1.016 MB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.8147, allocations: 0 / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.8147, allocations: 0 / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004702/0.8152, allocations: 111.5 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.947e-06/0.8152, allocations: 0 / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 3.725e-05/0.8153, allocations: 0 / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.8153, allocations: 7.938 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.688e-05/0.8153, allocations: 4 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.755e-05/0.8154, allocations: 11.94 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.474e-06/0.8154, allocations: 0 / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.8157, allocations: 123.8 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.37e-06/0.8157, allocations: 0 / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.8157, allocations: 7.938 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.8159, allocations: 99.89 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.816, allocations: 3.984 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.442e-06/0.816, allocations: 0 / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.816, allocations: 0 / 1.21 GB, free: 10.93 MB / 0.9356 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.000324/0.8163, allocations: 353.8 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.8163, allocations: 8.031 kB / 1.21 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.318e-05/0.8164, allocations: 110 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.8165, allocations: 76.22 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.8166, allocations: 239.7 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.8167, allocations: 154.9 kB / 1.211 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.8167, allocations: 158.7 kB / 1.211 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.973e-05/0.8168, allocations: 105 kB / 1.211 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.8168, allocations: 79.28 kB / 1.211 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.823e-05/0.8169, allocations: 150.6 kB / 1.211 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-05/0.8169, allocations: 150.6 kB / 1.211 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.957e-05/0.817, allocations: 150.6 kB / 1.211 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.8172, allocations: 449.9 kB / 1.212 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.57e-05/0.8173, allocations: 173.1 kB / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.8174, allocations: 84.08 kB / 1.212 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.8174, allocations: 75.28 kB / 1.212 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.8175, allocations: 109.8 kB / 1.212 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.8175, allocations: 0 / 1.212 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.361e-05/0.8175, allocations: 33.55 kB / 1.212 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.8176, allocations: 134.7 kB / 1.212 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.8177, allocations: 89.86 kB / 1.213 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.8177, allocations: 25.7 kB / 1.213 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.8177, allocations: 84.14 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.8178, allocations: 4.125 kB / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.8178, allocations: 13.7 kB / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.8179, allocations: 310.8 kB / 1.213 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-06/0.8179, allocations: 0 / 1.213 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-06/0.8179, allocations: 3.938 kB / 1.213 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.41e-05/0.8179, allocations: 75.28 kB / 1.213 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.215e-05/0.818, allocations: 83.22 kB / 1.213 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.814e-05/0.818, allocations: 37.58 kB / 1.213 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.8181, allocations: 83.28 kB / 1.213 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.8181, allocations: 79.28 kB / 1.213 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.414e-05/0.8182, allocations: 154.6 kB / 1.213 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-05/0.8182, allocations: 87.2 kB / 1.214 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-05/0.8183, allocations: 150.6 kB / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.8183, allocations: 83.22 kB / 1.214 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.8184, allocations: 79.28 kB / 1.214 GB, free: 6.535 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.8185, allocations: 260.4 kB / 1.214 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.8185, allocations: 105.1 kB / 1.214 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.8186, allocations: 124 kB / 1.214 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.924e-05/0.8186, allocations: 176.3 kB / 1.215 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-05/0.8187, allocations: 184.2 kB / 1.215 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-05/0.8188, allocations: 184.3 kB / 1.215 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.819, allocations: 401.2 kB / 1.215 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.107e-05/0.819, allocations: 104.9 kB / 1.215 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.8191, allocations: 101 kB / 1.215 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.742e-05/0.8191, allocations: 184.2 kB / 1.216 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/0.8192, allocations: 184.3 kB / 1.216 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.973e-05/0.8192, allocations: 184.2 kB / 1.216 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.919e-05/0.8193, allocations: 180.3 kB / 1.216 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.8194, allocations: 307.7 kB / 1.216 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.8195, allocations: 190.1 kB / 1.217 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.8196, allocations: 180.2 kB / 1.217 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.8197, allocations: 101 kB / 1.217 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.8197, allocations: 176.3 kB / 1.217 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.8198, allocations: 108.9 kB / 1.217 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.419e-05/0.8198, allocations: 83.27 kB / 1.217 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8198, allocations: 4.094 kB / 1.217 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003059/0.8201, allocations: 35.94 kB / 1.217 GB, free: 2.828 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007193/0.8208, allocations: 0.946 MB / 1.218 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.172e-05/0.8209, allocations: 3.938 kB / 1.218 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8209, allocations: 4 kB / 1.218 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.8209, allocations: 0 / 1.218 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.8212, allocations: 461.8 kB / 1.219 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.8224, allocations: 1.563 MB / 1.22 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.8226, allocations: 0.673 MB / 1.221 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.239e-05/0.8226, allocations: 3.984 kB / 1.221 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.8226, allocations: 7.438 kB / 1.221 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.8227, allocations: 0 / 1.221 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.843, allocations: 1.887 MB / 1.223 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.213/8.056, allocations: 15.61 kB / 1.223 GB, free: 13.34 MB / 0.9512 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/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) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches