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.001208/0.001208, allocations: 90.83 kB / 16.02 MB, free: 80 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.001708/0.001708, allocations: 177.2 kB / 16.92 MB, free: 6.652 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.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.414/2.414, allocations: 390.9 MB / 0.667 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003839, allocations: 16 kB / 0.8166 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7471/0.7476, allocations: 142.4 MB / 0.9557 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001189/0.7488, allocations: 0.9714 MB / 0.9567 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.7501, allocations: 0.9818 MB / 0.9576 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.17e-05/0.7502, allocations: 0 / 0.9576 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.7502, allocations: 1.438 kB / 0.9576 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003537/0.7505, allocations: 79.05 kB / 0.9577 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.936e-06/0.7506, allocations: 0 / 0.9577 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.655e-05/0.7506, allocations: 10.28 kB / 0.9577 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.7507, allocations: 1 kB / 0.9577 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.984e-05/0.7507, allocations: 8.953 kB / 0.9577 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.7508, allocations: 2.312 kB / 0.9577 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.084e-06/0.7508, allocations: 0 / 0.9577 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.751, allocations: 110.5 kB / 0.9578 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.061e-06/0.751, allocations: 4 kB / 0.9578 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.7511, allocations: 27.08 kB / 0.9578 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.7513, allocations: 77.22 kB / 0.9579 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.7513, allocations: 7.938 kB / 0.9579 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.514e-06/0.7513, allocations: 0 / 0.9579 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.7513, allocations: 0 / 0.9579 GB, free: 5.887 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.0003323/0.7516, allocations: 340.7 kB / 0.9583 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.7517, allocations: 10.06 kB / 0.9583 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.7518, allocations: 80.12 kB / 0.9583 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.7519, allocations: 241.1 kB / 0.9586 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.752, allocations: 160.3 kB / 0.9587 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.752, allocations: 154.9 kB / 0.9589 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.187e-05/0.7521, allocations: 106.2 kB / 0.959 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.7521, allocations: 75.28 kB / 0.959 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.7521, allocations: 158.5 kB / 0.9592 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.7522, allocations: 151.5 kB / 0.9593 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.346e-05/0.7522, allocations: 151.7 kB / 0.9595 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.7525, allocations: 443 kB / 0.9599 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.129e-05/0.7525, allocations: 174.1 kB / 0.9601 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.7526, allocations: 80.14 kB / 0.9601 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.7526, allocations: 80.27 kB / 0.9602 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.7526, allocations: 110.8 kB / 0.9603 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.7526, allocations: 0 / 0.9603 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.912e-05/0.7527, allocations: 38.41 kB / 0.9604 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.7528, allocations: 127.8 kB / 0.9605 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.7529, allocations: 97.08 kB / 0.9606 GB, free: 3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.7529, allocations: 25.7 kB / 0.9606 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.888e-05/0.7529, allocations: 80.14 kB / 0.9607 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.7529, allocations: 1.031 kB / 0.9607 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/0.7529, allocations: 9.719 kB / 0.9607 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.085e-05/0.753, allocations: 316 kB / 0.961 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-06/0.753, allocations: 0 / 0.961 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.499e-06/0.753, allocations: 0 / 0.961 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.7531, allocations: 84.69 kB / 0.9611 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/0.7531, allocations: 75.28 kB / 0.9611 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.385e-05/0.7531, allocations: 40.09 kB / 0.9612 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.7532, allocations: 80.41 kB / 0.9613 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.7532, allocations: 80.41 kB / 0.9613 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.431e-05/0.7533, allocations: 151.6 kB / 0.9615 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.746e-05/0.7533, allocations: 79.22 kB / 0.9616 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-05/0.7533, allocations: 163.4 kB / 0.9617 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.605e-05/0.7534, allocations: 75.28 kB / 0.9618 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.7534, allocations: 79.22 kB / 0.9619 GB, free: 1.668 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 6.873e-05/0.7535, allocations: 262.4 kB / 0.9621 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.7535, allocations: 106.4 kB / 0.9622 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.7536, allocations: 125.5 kB / 0.9623 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/0.7536, allocations: 180.2 kB / 0.9625 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.518e-05/0.7537, allocations: 181.5 kB / 0.9627 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.963e-05/0.7537, allocations: 181.9 kB / 0.9629 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.7539, allocations: 398.7 kB / 0.9632 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/0.7539, allocations: 112.9 kB / 0.9633 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.615e-05/0.7539, allocations: 110.5 kB / 0.9634 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.821e-05/0.754, allocations: 181.8 kB / 0.9636 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.34e-05/0.7541, allocations: 180.3 kB / 0.9638 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.1e-05/0.7542, allocations: 177.7 kB / 0.964 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.593e-05/0.7543, allocations: 185.7 kB / 0.9641 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.7545, allocations: 306.8 kB / 0.9644 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.953e-05/0.7546, allocations: 183.4 kB / 0.9646 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.7547, allocations: 181.8 kB / 0.9648 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.507e-05/0.7548, allocations: 104.9 kB / 0.9649 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/0.7549, allocations: 181.6 kB / 0.965 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.7549, allocations: 106.5 kB / 0.9652 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.66e-05/0.755, allocations: 81.47 kB / 0.9652 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.755, allocations: 0 / 0.9652 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000397/0.7554, allocations: 36.39 kB / 0.9653 GB, free: 14 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.0006538/0.756, allocations: 314.4 kB / 0.9656 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.595e-05/0.7561, allocations: 9.75 kB / 0.9656 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7561, allocations: 0 / 0.9656 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.7561, allocations: 0 / 0.9656 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.7566, allocations: 0.5203 MB / 0.9661 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.7569, allocations: 195 kB / 0.9663 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.7572, allocations: 0.6749 MB / 0.9669 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.377e-05/0.7572, allocations: 7.438 kB / 0.9669 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.7573, allocations: 3.938 kB / 0.9669 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of Templates: time 0.003307/0.7606, allocations: 1.148 MB / 0.9681 GB, free: 11.75 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/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