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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001409/0.001408, allocations: 106.6 kB / 16.35 MB, free: 5.824 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.00139/0.00139, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 66.59 kB / 0.814 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2624, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002234/0.2647, allocations: 1.242 MB / 0.9523 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.2661, allocations: 1.021 MB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.2661, allocations: 0 / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.2661, allocations: 0 / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004114/0.2666, allocations: 107.6 kB / 0.9534 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.868e-06/0.2666, allocations: 4 kB / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.054e-05/0.2666, allocations: 7.875 kB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.2667, allocations: 4 kB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.56e-05/0.2667, allocations: 3.984 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.069e-05/0.2668, allocations: 4 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.496e-06/0.2668, allocations: 0 / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.267, allocations: 119.8 kB / 0.9536 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.69e-06/0.267, allocations: 0 / 0.9536 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.209e-05/0.2671, allocations: 4 kB / 0.9536 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.2672, allocations: 107.8 kB / 0.9537 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2673, allocations: 0 / 0.9537 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.016e-06/0.2673, allocations: 4 kB / 0.9537 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2673, allocations: 7.938 kB / 0.9537 GB, free: 5.418 MB / 0.7325 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.0002942/0.2676, allocations: 347.4 kB / 0.954 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2676, allocations: 12.02 kB / 0.954 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.2677, allocations: 84.16 kB / 0.9541 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.2678, allocations: 239.7 kB / 0.9543 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/0.2679, allocations: 150.9 kB / 0.9545 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.2679, allocations: 154.9 kB / 0.9546 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.79e-05/0.268, allocations: 105.1 kB / 0.9547 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.268, allocations: 79.28 kB / 0.9548 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.2681, allocations: 150.6 kB / 0.9549 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-05/0.2681, allocations: 150.6 kB / 0.9551 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.354e-05/0.2682, allocations: 158.5 kB / 0.9552 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.2684, allocations: 445.9 kB / 0.9557 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.178e-05/0.2685, allocations: 173.2 kB / 0.9558 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.2686, allocations: 80.14 kB / 0.9559 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.2686, allocations: 79.28 kB / 0.956 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.2687, allocations: 117.7 kB / 0.9561 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2687, allocations: 0 / 0.9561 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.706e-05/0.2687, allocations: 25.7 kB / 0.9561 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.2688, allocations: 126.7 kB / 0.9562 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.666e-05/0.2689, allocations: 97.84 kB / 0.9563 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.2689, allocations: 25.7 kB / 0.9564 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.2689, allocations: 84.27 kB / 0.9564 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.269, allocations: 4 kB / 0.9564 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.269, allocations: 9.719 kB / 0.9564 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2691, allocations: 314.8 kB / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.127e-06/0.2691, allocations: 0 / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.474e-06/0.2691, allocations: 0 / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.571e-05/0.2691, allocations: 75.28 kB / 0.9568 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.255e-05/0.2692, allocations: 75.28 kB / 0.9569 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.419e-05/0.2692, allocations: 41.58 kB / 0.9569 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.2693, allocations: 83.27 kB / 0.957 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/0.2693, allocations: 79.28 kB / 0.9571 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.196e-05/0.2694, allocations: 154.5 kB / 0.9572 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.847e-05/0.2694, allocations: 75.28 kB / 0.9573 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-05/0.2694, allocations: 154.7 kB / 0.9575 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.318e-05/0.2695, allocations: 95.17 kB / 0.9575 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.2695, allocations: 75.28 kB / 0.9576 GB, free: 1.145 MB / 0.7325 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.0001049/0.2697, allocations: 258.4 kB / 0.9579 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.2697, allocations: 112.8 kB / 0.958 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.2698, allocations: 108.1 kB / 0.9581 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.938e-05/0.2698, allocations: 184.2 kB / 0.9582 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.962e-05/0.2699, allocations: 180.3 kB / 0.9584 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.765e-05/0.27, allocations: 176.3 kB / 0.9586 GB, free: 104 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.2702, allocations: 409.2 kB / 0.959 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.76e-05/0.2702, allocations: 104.9 kB / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.2703, allocations: 112.9 kB / 0.9592 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.204e-05/0.2703, allocations: 188.2 kB / 0.9594 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.752e-05/0.2704, allocations: 176.3 kB / 0.9595 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.53e-05/0.2705, allocations: 184.2 kB / 0.9597 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.064e-05/0.2705, allocations: 176.3 kB / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.2707, allocations: 311.8 kB / 0.9602 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.2708, allocations: 186 kB / 0.9604 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.375e-05/0.2708, allocations: 180.2 kB / 0.9605 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.2709, allocations: 101 kB / 0.9606 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.271, allocations: 188.2 kB / 0.9608 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.271, allocations: 105 kB / 0.9609 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.406e-05/0.2711, allocations: 79.28 kB / 0.961 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2711, allocations: 0 / 0.961 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003086/0.2714, allocations: 35.98 kB / 0.961 GB, free: 13.44 MB / 0.7481 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.0004458/0.2718, allocations: 322.7 kB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 3.888e-05/0.2719, allocations: 0 / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2719, allocations: 0 / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.2719, allocations: 3.938 kB / 0.9613 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.2723, allocations: 460.8 kB / 0.9618 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002113/0.2725, allocations: 164.8 kB / 0.9619 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.2727, allocations: 0.6805 MB / 0.9626 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.564e-06/0.2727, allocations: 0 / 0.9626 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.091e-05/0.2727, allocations: 7.438 kB / 0.9626 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.2728, allocations: 4 kB / 0.9626 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.003141/0.2759, allocations: 0.9933 MB / 0.9636 GB, free: 10.81 MB / 0.7481 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 -s gbode -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/jenkins1/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