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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004568/0.004568, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.001357/0.001357, allocations: 194.1 kB / 16.68 MB, free: 5.973 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.573/2.573, allocations: 482.6 MB / 0.755 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 71.83 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2547, allocations: 162.3 MB / 1.242 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001911/0.2567, allocations: 1.227 MB / 1.243 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2579, allocations: 1.004 MB / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.234e-05/0.258, allocations: 4 kB / 1.244 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.258, allocations: 0 / 1.244 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.2583, allocations: 123.5 kB / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 2.464e-06/0.2584, allocations: 4 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 2.932e-05/0.2584, allocations: 0 / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.069e-05/0.2584, allocations: 0 / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.064e-05/0.2584, allocations: 0 / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.2585, allocations: 5.719 kB / 1.244 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.3e-06/0.2585, allocations: 0 / 1.244 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.2587, allocations: 127.8 kB / 1.244 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.767e-06/0.2587, allocations: 4 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.132e-05/0.2588, allocations: 3.938 kB / 1.244 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.2589, allocations: 107.7 kB / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.2589, allocations: 0 / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.259, allocations: 0 / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.259, allocations: 0 / 1.244 GB, free: 7.234 MB / 0.9981 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.0002995/0.2593, allocations: 355.1 kB / 1.245 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.2593, allocations: 8.031 kB / 1.245 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.2594, allocations: 106 kB / 1.245 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.2594, allocations: 80.22 kB / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.2596, allocations: 243.7 kB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.393e-05/0.2596, allocations: 150.9 kB / 1.245 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.2597, allocations: 150.9 kB / 1.245 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.097e-05/0.2597, allocations: 108.9 kB / 1.246 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.2598, allocations: 79.27 kB / 1.246 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.2598, allocations: 154.6 kB / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.977e-05/0.2599, allocations: 150.6 kB / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.795e-05/0.26, allocations: 158.6 kB / 1.246 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.2602, allocations: 442 kB / 1.246 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.949e-05/0.2603, allocations: 173.1 kB / 1.247 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.2603, allocations: 80.14 kB / 1.247 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.2604, allocations: 79.22 kB / 1.247 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/0.2604, allocations: 113.8 kB / 1.247 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.2604, allocations: 0 / 1.247 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.097e-05/0.2605, allocations: 29.69 kB / 1.247 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.2606, allocations: 130.7 kB / 1.247 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.32e-05/0.2606, allocations: 97.8 kB / 1.247 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.2607, allocations: 25.7 kB / 1.247 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.2607, allocations: 80.14 kB / 1.247 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.2607, allocations: 3.938 kB / 1.247 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.2607, allocations: 17.72 kB / 1.247 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2608, allocations: 310.8 kB / 1.248 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-06/0.2609, allocations: 8.062 kB / 1.248 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-06/0.2609, allocations: 4.031 kB / 1.248 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.2609, allocations: 83.27 kB / 1.248 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.851e-05/0.2609, allocations: 75.28 kB / 1.248 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.082e-05/0.261, allocations: 37.62 kB / 1.248 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.261, allocations: 79.28 kB / 1.248 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-05/0.2611, allocations: 79.22 kB / 1.248 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.269e-05/0.2611, allocations: 154.6 kB / 1.248 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.805e-05/0.2612, allocations: 83.22 kB / 1.248 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.426e-05/0.2612, allocations: 154.6 kB / 1.248 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.579e-05/0.2613, allocations: 79.27 kB / 1.248 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.2613, allocations: 79.22 kB / 1.248 GB, free: 2.832 MB / 0.9981 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.0001066/0.2614, allocations: 260.9 kB / 1.249 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/0.2615, allocations: 108.9 kB / 1.249 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.2615, allocations: 108 kB / 1.249 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.405e-05/0.2616, allocations: 184.3 kB / 1.249 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.545e-05/0.2617, allocations: 184.3 kB / 1.249 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.445e-05/0.2617, allocations: 180.2 kB / 1.249 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.262, allocations: 401.2 kB / 1.25 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.161e-05/0.262, allocations: 112.8 kB / 1.25 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.2621, allocations: 105 kB / 1.25 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.195e-05/0.2621, allocations: 176.3 kB / 1.25 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/0.2622, allocations: 184.2 kB / 1.25 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.158e-05/0.2623, allocations: 176.3 kB / 1.251 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.645e-05/0.2623, allocations: 184.2 kB / 1.251 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.2625, allocations: 303.8 kB / 1.251 GB, free: 52 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.449/0.7114, allocations: 184.7 kB / 1.251 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.7115, allocations: 180.1 kB / 1.251 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.987e-05/0.7116, allocations: 102.4 kB / 1.251 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/0.7116, allocations: 182.5 kB / 1.252 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.7116, allocations: 105.3 kB / 1.252 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.7117, allocations: 79.33 kB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.6e-07/0.7117, allocations: 0.5 kB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003623/0.712, allocations: 45.34 kB / 1.252 GB, free: 14.73 MB / 0.9981 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.0005819/0.7126, allocations: 0.9617 MB / 1.253 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 3.553e-05/0.7127, allocations: 0.9375 kB / 1.253 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7127, allocations: 0.9375 kB / 1.253 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.7127, allocations: 0.7188 kB / 1.253 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.7129, allocations: 461.3 kB / 1.253 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006211/0.7135, allocations: 1.562 MB / 1.255 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.476e-05/0.7136, allocations: 0.672 MB / 1.255 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.704e-06/0.7136, allocations: 0.6094 kB / 1.255 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.7136, allocations: 9.859 kB / 1.255 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.7136, allocations: 2.25 kB / 1.255 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.163/2.877, allocations: 1.882 MB / 1.257 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/16.34, allocations: 12.44 kB / 1.257 GB, free: 10.82 MB / 0.9981 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=400 --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