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.00135/0.00135, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001818/0.001818, allocations: 211.3 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.466/1.466, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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 3.167/3.167, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 62 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3266, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002972/0.3296, allocations: 1.605 MB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.3313, allocations: 0.9663 MB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3314, allocations: 0 / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.3316, allocations: 59.66 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005325/0.3322, allocations: 151.2 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.674e-05/0.3322, allocations: 11.98 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.3327, allocations: 370.3 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.788e-05/0.3328, allocations: 13.22 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.3331, allocations: 159.3 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.3333, allocations: 135.3 kB / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.3334, allocations: 16 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.504e-05/0.3334, allocations: 16 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/0.3335, allocations: 47.77 kB / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.3337, allocations: 135.1 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.334, allocations: 282.8 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.334, allocations: 0 / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.162e-06/0.334, allocations: 4 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.334, allocations: 3.938 kB / 1.357 GB, free: 4.484 MB / 1.045 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.001204/0.3352, allocations: 0.5704 MB / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3352, allocations: 8.031 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.3353, allocations: 38.69 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.3354, allocations: 28.75 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005941/0.3359, allocations: 340.7 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.336, allocations: 4.375 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.336, allocations: 384 / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.3362, allocations: 109.1 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3362, allocations: 0 / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.3362, allocations: 0 / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3362, allocations: 4 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.3363, allocations: 71.86 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.3367, allocations: 319.2 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.3368, allocations: 110.4 kB / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.193e-05/0.3369, allocations: 59.45 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.337, allocations: 3.938 kB / 1.358 GB, free: 2.66 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.337, allocations: 42.5 kB / 1.358 GB, free: 2.609 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.337, allocations: 0 / 1.358 GB, free: 2.609 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004013/0.3374, allocations: 189.2 kB / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.3375, allocations: 128.5 kB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000658/0.3381, allocations: 0.5171 MB / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.3381, allocations: 25.7 kB / 1.359 GB, free: 1.703 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.3383, allocations: 160.1 kB / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.3383, allocations: 16.41 kB / 1.359 GB, free: 1.527 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.3384, allocations: 21.7 kB / 1.359 GB, free: 1.5 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3385, allocations: 346.8 kB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.979e-05/0.3386, allocations: 31.95 kB / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.3387, allocations: 63.39 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.3388, allocations: 103.3 kB / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3388, allocations: 0 / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002464/0.3391, allocations: 153.2 kB / 1.36 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3391, allocations: 8 kB / 1.36 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3391, allocations: 3.984 kB / 1.36 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3391, allocations: 0 / 1.36 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3392, allocations: 8 kB / 1.36 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.3392, allocations: 12.11 kB / 1.36 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.3394, allocations: 11.94 kB / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.3394, allocations: 4 kB / 1.36 GB, free: 0.7305 MB / 1.045 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.0001902/0.3396, allocations: 182.3 kB / 1.36 GB, free: 0.543 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.3397, allocations: 35.75 kB / 1.36 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/0.34, allocations: 191.8 kB / 1.36 GB, free: 320 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.34, allocations: 0 / 1.36 GB, free: 320 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.34, allocations: 4 kB / 1.36 GB, free: 316 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.34, allocations: 0 / 1.36 GB, free: 316 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.3403, allocations: 280.5 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3403, allocations: 0 / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.515e-05/0.3404, allocations: 23.86 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3404, allocations: 4 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3404, allocations: 4 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3404, allocations: 4 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3404, allocations: 0 / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.3407, allocations: 199.4 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.3409, allocations: 67.61 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.3409, allocations: 8 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3411, allocations: 11.98 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.3411, allocations: 11.98 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3411, allocations: 4 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004894/0.3416, allocations: 391 kB / 1.361 GB, free: 15.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3416, allocations: 0 / 1.361 GB, free: 15.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002585/0.3419, allocations: 40 kB / 1.361 GB, free: 15.21 MB / 1.061 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.0005824/0.3424, allocations: 0.7318 MB / 1.362 GB, free: 14.44 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.3426, allocations: 87.86 kB / 1.362 GB, free: 14.36 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3426, allocations: 0 / 1.362 GB, free: 14.36 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.516e-05/0.3427, allocations: 47.89 kB / 1.362 GB, free: 14.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.3431, allocations: 69.45 kB / 1.362 GB, free: 14.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/0.3471, allocations: 3.182 MB / 1.365 GB, free: 10.94 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.3476, allocations: 0.8104 MB / 1.366 GB, free: 10.1 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.3477, allocations: 54.25 kB / 1.366 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.3479, allocations: 79.41 kB / 1.366 GB, free: 9.977 MB / 1.061 GB Notification: Performance of SimCode: time 7.72e-07/0.3479, allocations: 0 / 1.366 GB, free: 9.977 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03715/0.385, allocations: 6.803 MB / 1.373 GB, free: 3.383 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.77, allocations: 5.312 kB / 1.373 GB, free: 3.383 MB / 1.061 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.36187331797555]