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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_9_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.001132/0.001132, allocations: 108 kB / 15.6 MB, free: 132 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.001098/0.001098, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.034/2.034, allocations: 390.3 MB / 0.6647 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 59.91 kB / 0.8126 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.4568, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001711/0.4586, allocations: 1.231 MB / 0.9509 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009733/0.4596, allocations: 1.013 MB / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.4596, allocations: 0 / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.278e-05/0.4596, allocations: 0 / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.4599, allocations: 111.7 kB / 0.952 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.116e-06/0.46, allocations: 0 / 0.952 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.373e-05/0.46, allocations: 6.219 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.483e-05/0.46, allocations: 1.062 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.156e-05/0.4601, allocations: 0.875 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.384e-05/0.4601, allocations: 6.953 kB / 0.952 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.481e-06/0.4602, allocations: 0 / 0.952 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.4603, allocations: 120.6 kB / 0.9522 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.927e-06/0.4603, allocations: 0 / 0.9522 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.07e-05/0.4603, allocations: 3.938 kB / 0.9522 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.4605, allocations: 98.83 kB / 0.9522 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4605, allocations: 0 / 0.9522 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4605, allocations: 1.562 kB / 0.9522 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.4605, allocations: 0 / 0.9522 GB, free: 7.219 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.000202/0.4607, allocations: 353.3 kB / 0.9526 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.4608, allocations: 10.38 kB / 0.9526 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.18e-05/0.4608, allocations: 110 kB / 0.9527 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.4608, allocations: 80.22 kB / 0.9528 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.011e-05/0.4609, allocations: 240.1 kB / 0.953 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.4609, allocations: 150.9 kB / 0.9532 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.4609, allocations: 152.1 kB / 0.9533 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.934e-05/0.461, allocations: 104.9 kB / 0.9534 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.461, allocations: 83.28 kB / 0.9535 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.461, allocations: 152 kB / 0.9536 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.461, allocations: 154.6 kB / 0.9538 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.738e-05/0.461, allocations: 159.9 kB / 0.9539 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.4612, allocations: 439.3 kB / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.802e-05/0.4612, allocations: 174.7 kB / 0.9545 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.24e-05/0.4612, allocations: 81.52 kB / 0.9546 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.4613, allocations: 83.2 kB / 0.9547 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.4613, allocations: 110.9 kB / 0.9548 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.4613, allocations: 0 / 0.9548 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.078e-05/0.4613, allocations: 26.83 kB / 0.9548 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.4614, allocations: 134.7 kB / 0.9549 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.051e-05/0.4614, allocations: 97.58 kB / 0.955 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.007e-06/0.4614, allocations: 25.7 kB / 0.955 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.768e-06/0.4614, allocations: 81.27 kB / 0.9551 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.062e-06/0.4614, allocations: 0 / 0.9551 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.4615, allocations: 14.94 kB / 0.9551 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.999e-05/0.4615, allocations: 312.3 kB / 0.9554 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-06/0.4615, allocations: 4 kB / 0.9554 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.364e-06/0.4615, allocations: 0 / 0.9554 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.955e-06/0.4615, allocations: 79.22 kB / 0.9555 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.4615, allocations: 76.47 kB / 0.9556 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.228e-05/0.4616, allocations: 40.03 kB / 0.9556 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4616, allocations: 82.16 kB / 0.9557 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4616, allocations: 75.28 kB / 0.9558 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.4616, allocations: 164 kB / 0.9559 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-06/0.4616, allocations: 76.52 kB / 0.956 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.4617, allocations: 156.1 kB / 0.9561 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.4617, allocations: 79.22 kB / 0.9562 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.4617, allocations: 76.41 kB / 0.9563 GB, free: 2.879 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 3.91e-05/0.4618, allocations: 265.7 kB / 0.9566 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.4618, allocations: 114.1 kB / 0.9567 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.636e-05/0.4618, allocations: 109.3 kB / 0.9568 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.4619, allocations: 180.4 kB / 0.9569 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/0.4619, allocations: 177.5 kB / 0.9571 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.4619, allocations: 185.4 kB / 0.9573 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.462, allocations: 411.5 kB / 0.9577 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.462, allocations: 104.9 kB / 0.9578 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.053e-05/0.462, allocations: 110.3 kB / 0.9579 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.599e-05/0.4621, allocations: 177.4 kB / 0.958 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.4621, allocations: 177.5 kB / 0.9582 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.655e-05/0.4621, allocations: 181.6 kB / 0.9584 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.591e-05/0.4621, allocations: 184.3 kB / 0.9586 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.497e-05/0.4622, allocations: 308.2 kB / 0.9589 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.4622, allocations: 182 kB / 0.959 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.4623, allocations: 185.7 kB / 0.9592 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.4624, allocations: 114.4 kB / 0.9593 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.4624, allocations: 181.6 kB / 0.9595 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.4624, allocations: 101 kB / 0.9596 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.7e-05/0.4625, allocations: 78.12 kB / 0.9597 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4625, allocations: 0 / 0.9597 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002855/0.4628, allocations: 48.2 kB / 0.9597 GB, free: 15.2 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.0005787/0.4633, allocations: 0.9457 MB / 0.9606 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 2.866e-05/0.4634, allocations: 5.359 kB / 0.9606 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.4634, allocations: 0 / 0.9606 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.4634, allocations: 1.656 kB / 0.9606 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.4637, allocations: 459.5 kB / 0.9611 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008473/0.4645, allocations: 1.559 MB / 0.9626 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.4647, allocations: 0.674 MB / 0.9633 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.193e-06/0.4648, allocations: 0 / 0.9633 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.4648, allocations: 8.5 kB / 0.9633 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of SimCode: time 1.513e-06/0.4648, allocations: 5.312 kB / 0.9633 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.4814, allocations: 1.847 MB / 0.9651 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.449/6.931, allocations: 16.47 kB / 0.9651 GB, free: 10.55 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > 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