Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008195/0.0008195, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0009195/0.0009195, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9163/0.9163, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.769/1.769, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.332e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001628/0.001652, allocations: 1.255 MB / 1.001 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.002917, allocations: 1.096 MB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.002941, allocations: 3.938 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.002957, allocations: 0 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.003362, allocations: 111.5 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.476e-06/0.003365, allocations: 0 / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 3.825e-05/0.003403, allocations: 8 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.003445, allocations: 0 / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.461e-05/0.003469, allocations: 0 / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.003511, allocations: 0 / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.003519, allocations: 8 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.003692, allocations: 111.7 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.294e-06/0.0037, allocations: 3.984 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.789e-06/0.00371, allocations: 0 / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.003869, allocations: 119.6 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003871, allocations: 0 / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003872, allocations: 0 / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.003875, allocations: 0 / 1.002 GB, free: 10.76 MB / 0.9636 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.000239/0.004114, allocations: 270.1 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.004152, allocations: 8.75 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.00419, allocations: 106 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.004228, allocations: 80.22 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.004328, allocations: 185.1 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.004363, allocations: 150.9 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.004398, allocations: 154.9 kB / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.848e-05/0.004446, allocations: 117.4 kB / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.004466, allocations: 75.47 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.004501, allocations: 154.5 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/0.004539, allocations: 150.6 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.636e-05/0.004575, allocations: 154.6 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.00476, allocations: 417 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.097e-05/0.004821, allocations: 181.1 kB / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.004844, allocations: 84.14 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.004863, allocations: 75.28 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.004892, allocations: 105.8 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 4.91e-07/0.004892, allocations: 4 kB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.565e-05/0.004948, allocations: 33.59 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.00499, allocations: 126.7 kB / 1.005 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.005063, allocations: 105.8 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.005071, allocations: 25.7 kB / 1.005 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.005095, allocations: 80.14 kB / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.005097, allocations: 4.125 kB / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.005113, allocations: 17.66 kB / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.921e-05/0.005182, allocations: 310.8 kB / 1.005 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-06/0.005186, allocations: 0 / 1.005 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.525e-06/0.005189, allocations: 0 / 1.005 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.885e-05/0.005208, allocations: 75.28 kB / 1.005 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/0.005224, allocations: 75.28 kB / 1.005 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.118e-05/0.005255, allocations: 29.7 kB / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.00528, allocations: 79.28 kB / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.005302, allocations: 91.16 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.965e-05/0.005341, allocations: 154.5 kB / 1.006 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.681e-05/0.005358, allocations: 83.33 kB / 1.006 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.382e-05/0.005392, allocations: 158.5 kB / 1.006 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.005435, allocations: 75.28 kB / 1.006 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.00555, allocations: 79.22 kB / 1.006 GB, free: 6.562 MB / 0.9636 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 7.235e-05/0.005623, allocations: 264.4 kB / 1.006 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.005659, allocations: 105 kB / 1.007 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.005693, allocations: 112 kB / 1.007 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-05/0.00573, allocations: 180.3 kB / 1.007 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-05/0.005769, allocations: 176.3 kB / 1.007 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-05/0.005807, allocations: 184.1 kB / 1.007 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.005937, allocations: 380.3 kB / 1.008 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.377e-05/0.005961, allocations: 104.9 kB / 1.008 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.005984, allocations: 105 kB / 1.008 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.725e-05/0.006021, allocations: 176.3 kB / 1.008 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.006066, allocations: 188.1 kB / 1.008 GB, free: 4.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.93e-05/0.006105, allocations: 184.3 kB / 1.008 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.771e-05/0.006153, allocations: 180.2 kB / 1.008 GB, free: 4.129 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.208e-05/0.006235, allocations: 299.8 kB / 1.009 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.006266, allocations: 112.9 kB / 1.009 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.006311, allocations: 184.2 kB / 1.009 GB, free: 3.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/0.006806, allocations: 104.9 kB / 1.009 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.00685, allocations: 184.3 kB / 1.009 GB, free: 3.211 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.006872, allocations: 105 kB / 1.009 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.966e-05/0.006902, allocations: 83.27 kB / 1.009 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006902, allocations: 3.938 kB / 1.009 GB, free: 3.016 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002154/0.007117, allocations: 39.81 kB / 1.01 GB, free: 2.977 MB / 0.9636 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.0005502/0.007667, allocations: 0.9607 MB / 1.01 GB, free: 2.035 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 3.149e-05/0.007699, allocations: 3.938 kB / 1.01 GB, free: 2.031 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.0077, allocations: 4 kB / 1.01 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.007702, allocations: 3.938 kB / 1.01 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.007932, allocations: 459.3 kB / 1.011 GB, free: 1.574 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008059/0.008737, allocations: 1.556 MB / 1.012 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.369e-05/0.008771, allocations: 59.34 kB / 1.012 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.203e-06/0.008778, allocations: 0 / 1.012 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.008798, allocations: 12.5 kB / 1.012 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of SimCode: time 3.61e-07/0.008798, allocations: 0 / 1.012 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.02529, allocations: 2.531 MB / 1.015 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.188/7.213, allocations: 2.062 kB / 1.015 GB, free: 13.46 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.458808239549398]