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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_10_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_10_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.00115/0.00115, allocations: 101.3 kB / 16.35 MB, free: 5.875 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.001192/0.001192, allocations: 200.1 kB / 17.3 MB, free: 5.516 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 65.69 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3125, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002567/0.3152, allocations: 1.237 MB / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.3166, allocations: 1.017 MB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.3166, allocations: 0 / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.3166, allocations: 0 / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004268/0.3171, allocations: 111.5 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.528e-06/0.3171, allocations: 0 / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.023e-05/0.3171, allocations: 0 / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.3172, allocations: 7.984 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.565e-05/0.3172, allocations: 0 / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.998e-05/0.3173, allocations: 8 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.764e-06/0.3173, allocations: 0 / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.3175, allocations: 123.8 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.362e-06/0.3176, allocations: 4 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.659e-05/0.3176, allocations: 11.88 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.3178, allocations: 103.8 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3178, allocations: 0 / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3178, allocations: 0 / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3178, allocations: 4 kB / 1.021 GB, free: 7.203 MB / 0.795 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.0003038/0.3181, allocations: 347.4 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3182, allocations: 8.031 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.3182, allocations: 80.22 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.3184, allocations: 243.7 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.3184, allocations: 150.9 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.3185, allocations: 154.9 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.207e-05/0.3185, allocations: 109 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.3186, allocations: 75.28 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/0.3186, allocations: 158.6 kB / 1.023 GB, free: 5.809 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-05/0.3187, allocations: 150.6 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.186e-05/0.3188, allocations: 150.6 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.319, allocations: 445.9 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.608e-05/0.3191, allocations: 181.1 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.3191, allocations: 80.14 kB / 1.024 GB, free: 4.758 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.3192, allocations: 75.28 kB / 1.024 GB, free: 4.684 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.3192, allocations: 109.8 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3192, allocations: 0 / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.306e-05/0.3193, allocations: 25.7 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.3194, allocations: 126.7 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.736e-05/0.3195, allocations: 109.8 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.3195, allocations: 25.7 kB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.3195, allocations: 80.14 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-06/0.3195, allocations: 0 / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.3195, allocations: 13.72 kB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3197, allocations: 310.8 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.988e-06/0.3197, allocations: 3.938 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-06/0.3197, allocations: 4.125 kB / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.35e-05/0.3197, allocations: 75.28 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.296e-05/0.3197, allocations: 75.28 kB / 1.025 GB, free: 3.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.135e-05/0.3198, allocations: 37.64 kB / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.3198, allocations: 81.94 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.3199, allocations: 83.22 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-05/0.3199, allocations: 154.5 kB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-05/0.32, allocations: 83.22 kB / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.937e-05/0.32, allocations: 150.7 kB / 1.025 GB, free: 3.094 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.3201, allocations: 79.3 kB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.3201, allocations: 83.22 kB / 1.025 GB, free: 2.934 MB / 0.795 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.0001055/0.3202, allocations: 262.8 kB / 1.026 GB, free: 2.668 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.3203, allocations: 108.9 kB / 1.026 GB, free: 2.555 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.3203, allocations: 120 kB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.266e-05/0.3204, allocations: 176.3 kB / 1.026 GB, free: 2.25 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.25e-05/0.3205, allocations: 176.3 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.157e-05/0.3205, allocations: 180.2 kB / 1.026 GB, free: 1.887 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.3208, allocations: 409.2 kB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.881e-05/0.3208, allocations: 108.9 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.3209, allocations: 104.9 kB / 1.027 GB, free: 1.207 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.939e-05/0.3209, allocations: 180.3 kB / 1.027 GB, free: 1.023 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.759e-05/0.321, allocations: 192.2 kB / 1.027 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.377e-05/0.3211, allocations: 176.3 kB / 1.027 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.219e-05/0.3212, allocations: 180.2 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.3213, allocations: 303.8 kB / 1.028 GB, free: 148 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.3214, allocations: 193.9 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/0.3215, allocations: 180.3 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.3216, allocations: 104.9 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.3217, allocations: 180.3 kB / 1.028 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.3217, allocations: 105 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.932e-05/0.3218, allocations: 87.2 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3218, allocations: 0 / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000313/0.3221, allocations: 35.94 kB / 1.029 GB, free: 15.22 MB / 0.8106 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.0005297/0.3226, allocations: 321.6 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.579e-05/0.3227, allocations: 4 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3227, allocations: 4 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.3227, allocations: 0 / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.3231, allocations: 455.7 kB / 1.029 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002223/0.3233, allocations: 160.8 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.3235, allocations: 0.6845 MB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.595e-06/0.3236, allocations: 3.938 kB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.14e-05/0.3236, allocations: 7.438 kB / 1.03 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of SimCode: time 1.9e-07/0.3236, allocations: 0 / 1.03 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of Templates: time 0.003199/0.3268, allocations: 0.9964 MB / 1.031 GB, free: 12.59 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (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 & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/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