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.0007684/0.0007684, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004997/0.004997, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.438/1.438, allocations: 223.2 MB / 240.3 MB, free: 5.336 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.467/2.467, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004485/0.0004487, allocations: 8 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7829/0.7834, allocations: 142.4 MB / 0.955 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001777/0.7853, allocations: 0.9722 MB / 0.956 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.7874, allocations: 0.9814 MB / 0.9569 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.7874, allocations: 0 / 0.9569 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.7874, allocations: 0 / 0.9569 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005879/0.788, allocations: 76.19 kB / 0.957 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.867e-06/0.788, allocations: 3.938 kB / 0.957 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.597e-05/0.7881, allocations: 2.281 kB / 0.957 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.332e-05/0.7882, allocations: 9.234 kB / 0.957 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.599e-05/0.7882, allocations: 5.062 kB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.7884, allocations: 2.406 kB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.7884, allocations: 0 / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.7887, allocations: 113.7 kB / 0.9572 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.7887, allocations: 1.031 kB / 0.9572 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.7888, allocations: 29.64 kB / 0.9572 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.7891, allocations: 106.5 kB / 0.9573 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.7891, allocations: 5.125 kB / 0.9573 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.965e-06/0.7891, allocations: 0 / 0.9573 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.7891, allocations: 0 / 0.9573 GB, free: 6.004 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.0004354/0.7895, allocations: 349.1 kB / 0.9576 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.737e-05/0.7896, allocations: 8.781 kB / 0.9576 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.7897, allocations: 85.41 kB / 0.9577 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.7899, allocations: 236.9 kB / 0.9579 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.7899, allocations: 150.9 kB / 0.9581 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.79, allocations: 152.1 kB / 0.9582 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.464e-05/0.7901, allocations: 113.1 kB / 0.9583 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.7901, allocations: 80.67 kB / 0.9584 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.269e-05/0.7902, allocations: 150.6 kB / 0.9586 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/0.7902, allocations: 150.6 kB / 0.9587 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.468e-05/0.7902, allocations: 155.6 kB / 0.9588 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.7905, allocations: 447.4 kB / 0.9593 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.186e-05/0.7906, allocations: 166.8 kB / 0.9594 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.7906, allocations: 80.14 kB / 0.9595 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.7906, allocations: 75.28 kB / 0.9596 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.7907, allocations: 119 kB / 0.9597 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.7907, allocations: 0 / 0.9597 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.832e-05/0.7908, allocations: 34.98 kB / 0.9597 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.7908, allocations: 126.7 kB / 0.9598 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.791, allocations: 96.98 kB / 0.9599 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.791, allocations: 27.02 kB / 0.96 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.411e-05/0.791, allocations: 80.14 kB / 0.96 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.791, allocations: 0 / 0.96 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/0.791, allocations: 13.84 kB / 0.9601 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.7911, allocations: 312.1 kB / 0.9604 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-06/0.7911, allocations: 0 / 0.9604 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-06/0.7911, allocations: 1.281 kB / 0.9604 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.929e-05/0.7912, allocations: 75.28 kB / 0.9604 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.055e-05/0.7912, allocations: 83.2 kB / 0.9605 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.598e-05/0.7913, allocations: 36.28 kB / 0.9605 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.7913, allocations: 80.22 kB / 0.9606 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.7913, allocations: 84.34 kB / 0.9607 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.461e-05/0.7914, allocations: 155.8 kB / 0.9608 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.175e-05/0.7914, allocations: 76.59 kB / 0.9609 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.413e-05/0.7915, allocations: 154.5 kB / 0.9611 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.52e-05/0.7915, allocations: 76.59 kB / 0.9611 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.7916, allocations: 80.58 kB / 0.9612 GB, free: 1.789 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 0.0001043/0.7917, allocations: 271.2 kB / 0.9615 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.7917, allocations: 113.8 kB / 0.9616 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/0.7918, allocations: 109.1 kB / 0.9617 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.245e-05/0.7918, allocations: 181.5 kB / 0.9619 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.682e-05/0.7919, allocations: 181.5 kB / 0.962 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.838e-05/0.7919, allocations: 180.3 kB / 0.9622 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.7921, allocations: 403.7 kB / 0.9626 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.592e-05/0.7922, allocations: 106.2 kB / 0.9627 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.7922, allocations: 112.9 kB / 0.9628 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/0.7923, allocations: 177.5 kB / 0.963 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.633e-05/0.7924, allocations: 177.5 kB / 0.9631 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.813e-05/0.7925, allocations: 189.5 kB / 0.9633 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-05/0.7926, allocations: 181.3 kB / 0.9635 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.7928, allocations: 307 kB / 0.9638 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.7929, allocations: 187.2 kB / 0.964 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.793, allocations: 189.2 kB / 0.9641 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.966e-05/0.7931, allocations: 102 kB / 0.9642 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/0.7932, allocations: 181.3 kB / 0.9644 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/0.7935, allocations: 102.2 kB / 0.9645 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.143e-05/0.7935, allocations: 77.38 kB / 0.9646 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7935, allocations: 0 / 0.9646 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000437/0.794, allocations: 39.95 kB / 0.9646 GB, free: 14.12 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.0007057/0.7947, allocations: 318.4 kB / 0.9649 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.653e-05/0.7948, allocations: 1.188 kB / 0.9649 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7948, allocations: 3.938 kB / 0.9649 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.7948, allocations: 1.156 kB / 0.9649 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.7953, allocations: 0.5323 MB / 0.9655 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.7956, allocations: 155.4 kB / 0.9656 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.796, allocations: 0.6783 MB / 0.9663 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.254e-05/0.796, allocations: 1.125 kB / 0.9663 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.796, allocations: 7.438 kB / 0.9663 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.796, allocations: 1.25 kB / 0.9663 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of Templates: time 0.004464/0.8005, allocations: 0.9833 MB / 0.9672 GB, free: 11.95 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