Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001185/0.001185, allocations: 108 kB / 15.61 MB, free: 152 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.001555/0.001555, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.2 MB / 0.6647 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6977/0.699, allocations: 140.3 MB / 0.9496 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002488/0.7015, allocations: 1.248 MB / 0.9508 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.7029, allocations: 0.9973 MB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.867e-05/0.703, allocations: 1.219 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.703, allocations: 0 / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004075/0.7034, allocations: 107.1 kB / 0.9519 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.799e-06/0.7034, allocations: 0 / 0.9519 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.052e-05/0.7035, allocations: 9.875 kB / 0.9519 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.7035, allocations: 5.25 kB / 0.9519 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.555e-05/0.7035, allocations: 1.312 kB / 0.9519 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.7037, allocations: 10.61 kB / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.462e-06/0.7037, allocations: 0 / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.7039, allocations: 116.3 kB / 0.952 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.669e-06/0.7039, allocations: 0 / 0.952 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.272e-05/0.7039, allocations: 4 kB / 0.952 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.7041, allocations: 104 kB / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7041, allocations: 0 / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7041, allocations: 0 / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.7041, allocations: 3.938 kB / 0.9521 GB, free: 7.074 MB / 0.7169 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.0002477/0.7044, allocations: 349 kB / 0.9525 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.7044, allocations: 17.62 kB / 0.9525 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.7044, allocations: 77.56 kB / 0.9525 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.905e-05/0.7045, allocations: 237.1 kB / 0.9528 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.7046, allocations: 150.9 kB / 0.9529 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.7046, allocations: 150.9 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.283e-05/0.7046, allocations: 106.7 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.7047, allocations: 79.28 kB / 0.9532 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.7047, allocations: 150.6 kB / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.7047, allocations: 152.1 kB / 0.9535 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.401e-05/0.7047, allocations: 162.5 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.705, allocations: 439.7 kB / 0.9541 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/0.705, allocations: 170.3 kB / 0.9543 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.705, allocations: 85.59 kB / 0.9543 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.7051, allocations: 75.28 kB / 0.9544 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.7051, allocations: 114.9 kB / 0.9545 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 6.92e-07/0.7051, allocations: 0 / 0.9545 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.285e-05/0.7052, allocations: 30.86 kB / 0.9546 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.7052, allocations: 131.7 kB / 0.9547 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.7053, allocations: 92.77 kB / 0.9548 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.25e-06/0.7053, allocations: 25.7 kB / 0.9548 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.708e-05/0.7053, allocations: 85.11 kB / 0.9549 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.7053, allocations: 0 / 0.9549 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/0.7053, allocations: 10.72 kB / 0.9549 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.7054, allocations: 315.8 kB / 0.9552 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-06/0.7054, allocations: 1.469 kB / 0.9552 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-06/0.7054, allocations: 0 / 0.9552 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.289e-05/0.7054, allocations: 75.28 kB / 0.9553 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.7054, allocations: 75.28 kB / 0.9553 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.16e-05/0.7055, allocations: 40.09 kB / 0.9554 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.7055, allocations: 80.75 kB / 0.9554 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.7056, allocations: 77.25 kB / 0.9555 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.7056, allocations: 158.5 kB / 0.9557 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.155e-05/0.7056, allocations: 80.78 kB / 0.9557 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/0.7056, allocations: 154.6 kB / 0.9559 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.7057, allocations: 85.31 kB / 0.956 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.7057, allocations: 75.28 kB / 0.956 GB, free: 2.863 MB / 0.7169 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 7.759e-05/0.7058, allocations: 272.3 kB / 0.9563 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.7058, allocations: 109.9 kB / 0.9564 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.7059, allocations: 113.3 kB / 0.9565 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.73e-05/0.7059, allocations: 184.4 kB / 0.9567 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.877e-05/0.7059, allocations: 177.5 kB / 0.9569 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.009e-05/0.706, allocations: 185.3 kB / 0.957 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.7061, allocations: 406.5 kB / 0.9574 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/0.7061, allocations: 102.1 kB / 0.9575 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.861e-05/0.7062, allocations: 114.2 kB / 0.9576 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.571e-05/0.7062, allocations: 177.3 kB / 0.9578 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.7062, allocations: 181.5 kB / 0.958 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.933e-05/0.7063, allocations: 185.3 kB / 0.9582 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.053e-05/0.7063, allocations: 177.5 kB / 0.9583 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.168e-05/0.7064, allocations: 310.3 kB / 0.9586 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-05/0.7065, allocations: 183.3 kB / 0.9588 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/0.7066, allocations: 181.4 kB / 0.959 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.7066, allocations: 114.2 kB / 0.9591 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.7067, allocations: 181.5 kB / 0.9593 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.7068, allocations: 102.4 kB / 0.9593 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.42e-05/0.7068, allocations: 76.5 kB / 0.9594 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7068, allocations: 0 / 0.9594 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003721/0.7072, allocations: 41.27 kB / 0.9595 GB, free: 15.19 MB / 0.7325 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.0005516/0.7077, allocations: 317.9 kB / 0.9598 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.11e-05/0.7078, allocations: 1.25 kB / 0.9598 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7078, allocations: 0 / 0.9598 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.318e-06/0.7078, allocations: 5.188 kB / 0.9598 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.7082, allocations: 458.4 kB / 0.9602 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.7084, allocations: 166.9 kB / 0.9604 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.7087, allocations: 0.6741 MB / 0.961 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.675e-06/0.7087, allocations: 0 / 0.961 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.296e-05/0.7087, allocations: 8.656 kB / 0.961 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.7087, allocations: 0 / 0.961 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of Templates: time 0.003258/0.712, allocations: 0.9956 MB / 0.962 GB, free: 13.1 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches