Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_10_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.007689/0.007689, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001937/0.001937, allocations: 202.3 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.515/2.515, allocations: 437.1 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2568, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002194/0.259, allocations: 1.227 MB / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.2606, allocations: 1.016 MB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.2606, allocations: 4 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.2607, allocations: 0 / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004417/0.2611, allocations: 111.5 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.316e-06/0.2611, allocations: 0 / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.665e-05/0.2612, allocations: 0 / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.2612, allocations: 0 / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.504e-05/0.2612, allocations: 11.92 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.133e-05/0.2613, allocations: 3.938 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.121e-06/0.2613, allocations: 0 / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.2616, allocations: 123.8 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.889e-06/0.2616, allocations: 0 / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.215e-05/0.2616, allocations: 4 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.2618, allocations: 116 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2618, allocations: 0 / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2618, allocations: 0 / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2618, allocations: 0 / 1.169 GB, free: 4.664 MB / 0.92 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.0003036/0.2622, allocations: 355.1 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2622, allocations: 8.031 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.2622, allocations: 106 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.2623, allocations: 84.22 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.2624, allocations: 239.7 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.2625, allocations: 158.8 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.2625, allocations: 150.9 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.414e-05/0.2626, allocations: 104.9 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.2626, allocations: 75.28 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.2627, allocations: 162.5 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/0.2627, allocations: 150.6 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.399e-05/0.2628, allocations: 150.6 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.263, allocations: 445.9 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.591e-05/0.2631, allocations: 169.1 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.2632, allocations: 84.14 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.2632, allocations: 83.2 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.2632, allocations: 109.8 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2632, allocations: 0 / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 6.982e-05/0.2633, allocations: 33.62 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.2634, allocations: 130.7 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/0.2635, allocations: 97.8 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.2635, allocations: 25.7 kB / 1.172 GB, free: 1.586 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.516e-05/0.2635, allocations: 80.14 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.2635, allocations: 0 / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.2635, allocations: 17.72 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.919e-05/0.2636, allocations: 310.8 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.108e-06/0.2636, allocations: 176 / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-06/0.2637, allocations: 8 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.227e-05/0.2637, allocations: 79.27 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-05/0.2637, allocations: 75.28 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.484e-05/0.2638, allocations: 37.58 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.2638, allocations: 79.28 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.2638, allocations: 79.28 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.031e-05/0.2639, allocations: 150.6 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.105e-05/0.2639, allocations: 83.34 kB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.696e-05/0.264, allocations: 162.6 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-05/0.264, allocations: 79.22 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.2641, allocations: 83.27 kB / 1.173 GB, free: 264 kB / 0.92 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.0001123/0.2642, allocations: 256.4 kB / 1.173 GB, free: 16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.2642, allocations: 108.9 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.2643, allocations: 112 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.724e-05/0.2643, allocations: 184.2 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.147e-05/0.2644, allocations: 184.2 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.737e-05/0.2645, allocations: 176.3 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.2646, allocations: 397.2 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-05/0.2647, allocations: 120.8 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.2647, allocations: 101 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.423e-05/0.2648, allocations: 188.2 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.2648, allocations: 180.3 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-05/0.2649, allocations: 176.3 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-05/0.2649, allocations: 184.2 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.2651, allocations: 307.8 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/0.2651, allocations: 182 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/0.2652, allocations: 188.2 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.2653, allocations: 101 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.2653, allocations: 184.3 kB / 1.176 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.2654, allocations: 108.9 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.457e-05/0.2654, allocations: 75.28 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2654, allocations: 0 / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003199/0.2657, allocations: 39.8 kB / 1.176 GB, free: 12.55 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.0006781/0.2664, allocations: 0.9533 MB / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 3.693e-05/0.2665, allocations: 3.938 kB / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2665, allocations: 0 / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.2665, allocations: 0 / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.2668, allocations: 461.7 kB / 1.178 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009858/0.2678, allocations: 1.556 MB / 1.179 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.268, allocations: 0.669 MB / 1.18 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.028e-05/0.268, allocations: 4 kB / 1.18 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.268, allocations: 7.438 kB / 1.18 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.2681, allocations: 0 / 1.18 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.2866, allocations: 1.899 MB / 1.182 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/7.477, allocations: 3.953 kB / 1.182 GB, free: 7.074 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches