Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000859/0.000859, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008878/0.0008878, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8668/0.8668, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.682/1.682, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.761e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.003367/0.003395, allocations: 1.263 MB / 0.9517 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.004697, allocations: 1.091 MB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.004723, allocations: 0 / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.004741, allocations: 0 / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0004496/0.005191, allocations: 115.5 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 5.01e-06/0.005196, allocations: 0 / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.041e-05/0.005246, allocations: 3.938 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.005298, allocations: 0 / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.059e-05/0.005329, allocations: 4 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.104e-05/0.00538, allocations: 0 / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 8.285e-06/0.005388, allocations: 0 / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.005562, allocations: 119.7 kB / 0.953 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.162e-06/0.005568, allocations: 0 / 0.953 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.135e-05/0.00558, allocations: 0 / 0.953 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.005759, allocations: 119.7 kB / 0.9532 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.005764, allocations: 3.938 kB / 0.9532 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.773e-06/0.005765, allocations: 0 / 0.9532 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.00577, allocations: 0 / 0.9532 GB, free: 0.7461 MB / 0.9011 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.0002967/0.006067, allocations: 274 kB / 0.9534 GB, free: 460 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.006112, allocations: 12.03 kB / 0.9534 GB, free: 448 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.006153, allocations: 106 kB / 0.9535 GB, free: 332 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.006197, allocations: 76.22 kB / 0.9536 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.006308, allocations: 185.1 kB / 0.9538 GB, free: 44 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.172e-05/0.00636, allocations: 158.9 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.006395, allocations: 150.9 kB / 0.9541 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.522e-05/0.00645, allocations: 109.5 kB / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.00647, allocations: 75.47 kB / 0.9543 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.006511, allocations: 158.5 kB / 0.9544 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.588e-05/0.006547, allocations: 150.6 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.638e-05/0.006584, allocations: 150.6 kB / 0.9547 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.006786, allocations: 417 kB / 0.9551 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.036e-05/0.006846, allocations: 169.1 kB / 0.9553 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.00687, allocations: 88.08 kB / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.00689, allocations: 75.28 kB / 0.9554 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.006922, allocations: 113.8 kB / 0.9555 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.006923, allocations: 0 / 0.9555 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.704e-05/0.00698, allocations: 37.56 kB / 0.9556 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.007037, allocations: 126.7 kB / 0.9557 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.036e-05/0.007127, allocations: 93.86 kB / 0.9558 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.007136, allocations: 25.7 kB / 0.9558 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.007162, allocations: 84.14 kB / 0.9559 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.007164, allocations: 128 / 0.9559 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.573e-05/0.007179, allocations: 13.72 kB / 0.9559 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.007261, allocations: 314.8 kB / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.299e-06/0.007266, allocations: 0 / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.007271, allocations: 7.984 kB / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.946e-05/0.007291, allocations: 79.28 kB / 0.9563 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.668e-05/0.007307, allocations: 75.28 kB / 0.9563 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.169e-05/0.007339, allocations: 25.7 kB / 0.9564 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.007369, allocations: 87.22 kB / 0.9564 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.007391, allocations: 79.22 kB / 0.9565 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.352e-05/0.007434, allocations: 150.6 kB / 0.9567 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.282e-05/0.007457, allocations: 91.27 kB / 0.9567 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.589e-05/0.007493, allocations: 150.6 kB / 0.9569 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.351e-05/0.007546, allocations: 87.2 kB / 0.957 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.007566, allocations: 79.28 kB / 0.9571 GB, free: 12.55 MB / 0.9167 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 8.665e-05/0.007653, allocations: 256.4 kB / 0.9573 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.007688, allocations: 104.9 kB / 0.9574 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.007726, allocations: 116 kB / 0.9575 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.065e-05/0.007767, allocations: 180.2 kB / 0.9577 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.811e-05/0.007815, allocations: 188.2 kB / 0.9579 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.999e-05/0.007855, allocations: 180.3 kB / 0.958 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.008003, allocations: 368.3 kB / 0.9584 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/0.008028, allocations: 112.9 kB / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.008054, allocations: 105 kB / 0.9586 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.219e-05/0.008096, allocations: 180.2 kB / 0.9588 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.851e-05/0.008145, allocations: 184.2 kB / 0.9589 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-05/0.008185, allocations: 176.3 kB / 0.9591 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.162e-05/0.008227, allocations: 184.1 kB / 0.9593 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.816e-05/0.008325, allocations: 315.8 kB / 0.9596 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.008351, allocations: 101 kB / 0.9597 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.0084, allocations: 184.2 kB / 0.9599 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.309e-05/0.008453, allocations: 108.9 kB / 0.96 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.008498, allocations: 180.3 kB / 0.9601 GB, free: 9.199 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.008522, allocations: 104.9 kB / 0.9602 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.006e-05/0.008552, allocations: 83.28 kB / 0.9603 GB, free: 9.008 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008552, allocations: 0 / 0.9603 GB, free: 9.008 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002126/0.008765, allocations: 39.8 kB / 0.9603 GB, free: 8.969 MB / 0.9167 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.0006647/0.00943, allocations: 0.9533 MB / 0.9613 GB, free: 8.027 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 3.588e-05/0.009465, allocations: 11.88 kB / 0.9613 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.009467, allocations: 0 / 0.9613 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.009468, allocations: 4 kB / 0.9613 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.009704, allocations: 460.2 kB / 0.9617 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000949/0.01065, allocations: 1.562 MB / 0.9633 GB, free: 5.918 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.835e-05/0.01069, allocations: 55.36 kB / 0.9633 GB, free: 5.844 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.027e-06/0.0107, allocations: 3.938 kB / 0.9633 GB, free: 5.84 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.01072, allocations: 8.5 kB / 0.9633 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.01072, allocations: 0 / 0.9633 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.02731, allocations: 2.526 MB / 0.9658 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.665/6.692, allocations: 11.66 kB / 0.9658 GB, free: 3.453 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.70497316122055]