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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 65.64 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3345, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002304/0.3368, allocations: 1.227 MB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3383, allocations: 1.021 MB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.3384, allocations: 0 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.3384, allocations: 3.938 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004257/0.3389, allocations: 107.6 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.407e-06/0.3389, allocations: 0 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.591e-05/0.3389, allocations: 4 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.339, allocations: 4 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.587e-05/0.339, allocations: 3.938 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.977e-05/0.3391, allocations: 4 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.584e-06/0.3391, allocations: 0 / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.3393, allocations: 111.8 kB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.42e-06/0.3393, allocations: 0 / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.5e-05/0.3393, allocations: 3.938 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.3395, allocations: 103.9 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3396, allocations: 4 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3396, allocations: 0 / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3396, allocations: 4 kB / 1.071 GB, free: 7.84 MB / 0.8262 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.0003046/0.3399, allocations: 343.5 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3399, allocations: 12.03 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.34, allocations: 76.22 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3401, allocations: 243.7 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.003e-05/0.3402, allocations: 150.9 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.3402, allocations: 158.9 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.036e-05/0.3403, allocations: 109.1 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.3403, allocations: 75.28 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/0.3404, allocations: 150.6 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.3404, allocations: 150.6 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.633e-05/0.3405, allocations: 150.6 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.3407, allocations: 449.9 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.187e-05/0.3408, allocations: 173.1 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.3408, allocations: 80.14 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.3409, allocations: 75.28 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.3409, allocations: 121.8 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3409, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.593e-05/0.341, allocations: 37.58 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.3411, allocations: 130.7 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.426e-05/0.3411, allocations: 89.86 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.3412, allocations: 25.7 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.3412, allocations: 88.12 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.3412, allocations: 4.125 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/0.3412, allocations: 13.66 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.3413, allocations: 314.8 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-06/0.3413, allocations: 0 / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-06/0.3413, allocations: 0 / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.239e-05/0.3414, allocations: 75.28 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.277e-05/0.3414, allocations: 79.28 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.142e-05/0.3415, allocations: 33.55 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.3415, allocations: 87.22 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.3415, allocations: 79.28 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.538e-05/0.3416, allocations: 150.6 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.405e-05/0.3416, allocations: 83.2 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.712e-05/0.3417, allocations: 154.7 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.3418, allocations: 87.23 kB / 1.075 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.3418, allocations: 79.28 kB / 1.075 GB, free: 3.559 MB / 0.8262 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.0001153/0.3419, allocations: 256.7 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.342, allocations: 104.9 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.342, allocations: 119.8 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.784e-05/0.3421, allocations: 180.3 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-05/0.3421, allocations: 184.2 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.281e-05/0.3422, allocations: 180.3 kB / 1.076 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.3424, allocations: 397.2 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.275e-05/0.3424, allocations: 108.9 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.3425, allocations: 108.9 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.627e-05/0.3425, allocations: 184.2 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/0.3426, allocations: 180.3 kB / 1.077 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.078e-05/0.3426, allocations: 180.2 kB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.447e-05/0.3427, allocations: 180.2 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.3428, allocations: 303.8 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.3429, allocations: 194 kB / 1.077 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/0.343, allocations: 176.3 kB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/0.343, allocations: 104.9 kB / 1.078 GB, free: 280 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.3431, allocations: 180.3 kB / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/0.3432, allocations: 108.9 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.3432, allocations: 79.27 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3432, allocations: 4.094 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003132/0.3435, allocations: 35.94 kB / 1.078 GB, free: 15.86 MB / 0.8419 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.0005115/0.344, allocations: 322.9 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 3.989e-05/0.3441, allocations: 3.984 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3441, allocations: 0 / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.3441, allocations: 0 / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.3444, allocations: 460.2 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.3447, allocations: 170.4 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.3449, allocations: 0.6729 MB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.975e-06/0.3449, allocations: 0 / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.3449, allocations: 11.42 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of SimCode: time 1.9e-07/0.3449, allocations: 0 / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of Templates: time 0.003197/0.3481, allocations: 0.9947 MB / 1.081 GB, free: 13.23 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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