Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.0008285/0.0008285, 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.0007768/0.0007768, 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.8612/0.8612, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.713/1.713, allocations: 389 MB / 0.633 GB, free: 12.7 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.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 0.9996 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.076e-05, allocations: 2.281 kB / 0.9996 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.001908/0.001929, allocations: 1.552 MB / 1.001 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0009048/0.002834, allocations: 0.8682 MB / 1.002 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.002898, allocations: 7.938 kB / 1.002 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.003095, allocations: 59.67 kB / 1.002 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.003461, allocations: 155.1 kB / 1.002 GB, free: 9.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 2.464e-05/0.003485, allocations: 3.984 kB / 1.002 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.003765, allocations: 385.3 kB / 1.003 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.003808, allocations: 16.94 kB / 1.003 GB, free: 9.367 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.004028, allocations: 207.4 kB / 1.003 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.004158, allocations: 123.7 kB / 1.003 GB, free: 9.043 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.004179, allocations: 12 kB / 1.003 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 2.375e-05/0.004202, allocations: 16 kB / 1.003 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.547e-05/0.004258, allocations: 51.7 kB / 1.003 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/0.004322, allocations: 79.78 kB / 1.003 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.004529, allocations: 283 kB / 1.003 GB, free: 8.609 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004531, allocations: 0 / 1.003 GB, free: 8.609 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004532, allocations: 4 kB / 1.003 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.004537, allocations: 0 / 1.003 GB, free: 8.605 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007052/0.005242, allocations: 0.5486 MB / 1.004 GB, free: 8.027 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.005278, allocations: 16.69 kB / 1.004 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.728e-05/0.005305, allocations: 30.75 kB / 1.004 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.00535, allocations: 40.7 kB / 1.004 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.005678, allocations: 332 kB / 1.004 GB, free: 7.586 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.005688, allocations: 8.375 kB / 1.004 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.005697, allocations: 384 / 1.004 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.005813, allocations: 105.6 kB / 1.004 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.00582, allocations: 192 / 1.004 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.005828, allocations: 4.125 kB / 1.004 GB, free: 7.453 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.005833, allocations: 0 / 1.004 GB, free: 7.453 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.112e-05/0.005904, allocations: 67.86 kB / 1.004 GB, free: 7.387 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.006147, allocations: 299.3 kB / 1.005 GB, free: 7.043 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.995e-05/0.006227, allocations: 102.5 kB / 1.005 GB, free: 6.906 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.006281, allocations: 67.39 kB / 1.005 GB, free: 6.828 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.006297, allocations: 3.938 kB / 1.005 GB, free: 6.824 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.006314, allocations: 34.56 kB / 1.005 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.006315, allocations: 0 / 1.005 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0002339/0.006548, allocations: 185.7 kB / 1.005 GB, free: 6.594 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.006594, allocations: 132.5 kB / 1.005 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.006975, allocations: 0.5171 MB / 1.006 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.006988, allocations: 29.7 kB / 1.006 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.007064, allocations: 160.1 kB / 1.006 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.007089, allocations: 15.84 kB / 1.006 GB, free: 5.699 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.007121, allocations: 25.66 kB / 1.006 GB, free: 5.668 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.092e-05/0.007212, allocations: 346.8 kB / 1.006 GB, free: 5.32 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.032e-05/0.007252, allocations: 35.95 kB / 1.006 GB, free: 5.285 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.711e-05/0.007299, allocations: 63.33 kB / 1.006 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.254e-05/0.007392, allocations: 99.36 kB / 1.006 GB, free: 5.102 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.007395, allocations: 0 / 1.006 GB, free: 5.102 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001409/0.007535, allocations: 153.3 kB / 1.007 GB, free: 4.945 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.007546, allocations: 4 kB / 1.007 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007551, allocations: 4 kB / 1.007 GB, free: 4.938 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.007562, allocations: 3.938 kB / 1.007 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.007632, allocations: 11.98 kB / 1.007 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.007636, allocations: 3.938 kB / 1.007 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.073e-05/0.007707, allocations: 20.09 kB / 1.007 GB, free: 4.898 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.007714, allocations: 3.984 kB / 1.007 GB, free: 4.895 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001082/0.007823, allocations: 173.8 kB / 1.007 GB, free: 4.715 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.007851, allocations: 35.75 kB / 1.007 GB, free: 4.68 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.008053, allocations: 187.6 kB / 1.007 GB, free: 4.484 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.008056, allocations: 3.938 kB / 1.007 GB, free: 4.48 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.00806, allocations: 0 / 1.007 GB, free: 4.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.008064, allocations: 4.125 kB / 1.007 GB, free: 4.477 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.008224, allocations: 248.6 kB / 1.007 GB, free: 4.191 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.008225, allocations: 0 / 1.007 GB, free: 4.191 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.008266, allocations: 19.98 kB / 1.007 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.008269, allocations: 4 kB / 1.007 GB, free: 4.168 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.008276, allocations: 0 / 1.007 GB, free: 4.168 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.008278, allocations: 7.875 kB / 1.007 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008279, allocations: 4 kB / 1.007 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.008465, allocations: 187.4 kB / 1.008 GB, free: 3.941 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-05/0.008549, allocations: 67.73 kB / 1.008 GB, free: 3.875 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.008574, allocations: 7.938 kB / 1.008 GB, free: 3.867 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.008641, allocations: 19.92 kB / 1.008 GB, free: 3.848 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.008659, allocations: 11.92 kB / 1.008 GB, free: 3.836 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.008664, allocations: 4 kB / 1.008 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002755/0.008939, allocations: 395 kB / 1.008 GB, free: 3.453 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008939, allocations: 0 / 1.008 GB, free: 3.453 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001611/0.0091, allocations: 40 kB / 1.008 GB, free: 3.414 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.000304/0.009404, allocations: 0.7279 MB / 1.009 GB, free: 2.648 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.009528, allocations: 84.05 kB / 1.009 GB, free: 2.566 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.009529, allocations: 4.062 kB / 1.009 GB, free: 2.562 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.00957, allocations: 43.91 kB / 1.009 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.009811, allocations: 57.91 kB / 1.009 GB, free: 2.461 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.01217, allocations: 3.189 MB / 1.012 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.01227, allocations: 203.4 kB / 1.012 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 8.687e-05/0.01236, allocations: 54.27 kB / 1.012 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.01247, allocations: 80.47 kB / 1.012 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of SimCode: time 5.21e-07/0.01247, allocations: 3.938 kB / 1.012 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.02963, allocations: 7.697 MB / 1.02 GB, free: 7.363 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.53/6.559, allocations: 4.062 kB / 1.02 GB, free: 7.359 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.846716087311506]