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.001771/0.001771, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002124/0.002124, allocations: 222.3 kB / 23.03 MB, free: 4.945 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.179/3.179, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="cs",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.00195/0.00195, allocations: 61.59 kB / 1.17 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3248, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.0028/0.3276, allocations: 1.563 MB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.329, allocations: 0.8568 MB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.329, allocations: 7.938 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.3293, allocations: 51.69 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004419/0.3297, allocations: 143.3 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.708e-05/0.3298, allocations: 11.92 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.3302, allocations: 378.3 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.621e-05/0.3302, allocations: 13.22 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.3305, allocations: 155.3 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.3307, allocations: 135.4 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.3307, allocations: 12 kB / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.95e-05/0.3308, allocations: 16 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.669e-05/0.3309, allocations: 47.72 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.331, allocations: 115.4 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.3313, allocations: 286.7 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3313, allocations: 4 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3313, allocations: 0 / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3313, allocations: 3.938 kB / 1.349 GB, free: 12.19 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.001164/0.3325, allocations: 0.5681 MB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3325, allocations: 8.031 kB / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.516e-05/0.3326, allocations: 8.188 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.3326, allocations: 30.75 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/0.3327, allocations: 32.75 kB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.3332, allocations: 332.7 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.3332, allocations: 384 / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.3332, allocations: 4.375 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.3334, allocations: 104.9 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3334, allocations: 4 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3334, allocations: 4 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3334, allocations: 0 / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.3335, allocations: 63.88 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.3339, allocations: 311.2 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.334, allocations: 98.41 kB / 1.35 GB, free: 10.47 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/0.3341, allocations: 63.45 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3341, allocations: 7.938 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.3342, allocations: 38.5 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3342, allocations: 4 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.000372/0.3345, allocations: 189.2 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.3346, allocations: 128.5 kB / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006184/0.3352, allocations: 0.5093 MB / 1.351 GB, free: 9.477 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3352, allocations: 25.7 kB / 1.351 GB, free: 9.445 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.3354, allocations: 168.1 kB / 1.352 GB, free: 9.277 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.3354, allocations: 11.91 kB / 1.352 GB, free: 9.266 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.3355, allocations: 21.66 kB / 1.352 GB, free: 9.238 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3356, allocations: 351.2 kB / 1.352 GB, free: 8.887 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.089e-05/0.3357, allocations: 35.97 kB / 1.352 GB, free: 8.852 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.3358, allocations: 59.39 kB / 1.352 GB, free: 8.781 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.3359, allocations: 103.3 kB / 1.352 GB, free: 8.668 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3359, allocations: 0 / 1.352 GB, free: 8.668 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002247/0.3361, allocations: 157.2 kB / 1.352 GB, free: 8.508 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3361, allocations: 4 kB / 1.352 GB, free: 8.504 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3361, allocations: 4.125 kB / 1.352 GB, free: 8.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3362, allocations: 4 kB / 1.352 GB, free: 8.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.3363, allocations: 11.98 kB / 1.352 GB, free: 8.484 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3363, allocations: 0 / 1.352 GB, free: 8.484 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.3364, allocations: 15.98 kB / 1.352 GB, free: 8.469 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3364, allocations: 0 / 1.352 GB, free: 8.469 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.0001673/0.3366, allocations: 185.7 kB / 1.352 GB, free: 8.277 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.3366, allocations: 31.75 kB / 1.352 GB, free: 8.246 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.337, allocations: 191.6 kB / 1.353 GB, free: 8.043 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.337, allocations: 4 kB / 1.353 GB, free: 8.039 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.337, allocations: 0 / 1.353 GB, free: 8.039 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.337, allocations: 4 kB / 1.353 GB, free: 8.035 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.3373, allocations: 240.6 kB / 1.353 GB, free: 7.758 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3373, allocations: 3.938 kB / 1.353 GB, free: 7.754 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-05/0.3374, allocations: 15.98 kB / 1.353 GB, free: 7.738 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3374, allocations: 7.938 kB / 1.353 GB, free: 7.73 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3374, allocations: 0 / 1.353 GB, free: 7.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3374, allocations: 0 / 1.353 GB, free: 7.73 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3374, allocations: 8.125 kB / 1.353 GB, free: 7.723 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.3377, allocations: 195.4 kB / 1.353 GB, free: 7.504 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.3378, allocations: 75.61 kB / 1.353 GB, free: 7.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.3378, allocations: 0 / 1.353 GB, free: 7.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.338, allocations: 11.98 kB / 1.353 GB, free: 7.418 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.338, allocations: 7.922 kB / 1.353 GB, free: 7.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.338, allocations: 4 kB / 1.353 GB, free: 7.406 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004798/0.3385, allocations: 395 kB / 1.354 GB, free: 7.027 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3385, allocations: 0 / 1.354 GB, free: 7.027 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002513/0.3388, allocations: 36 kB / 1.354 GB, free: 6.992 MB / 1.045 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.0005482/0.3393, allocations: 0.7395 MB / 1.354 GB, free: 6.215 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.3395, allocations: 83.86 kB / 1.354 GB, free: 6.133 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3395, allocations: 0 / 1.354 GB, free: 6.133 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.03e-05/0.3396, allocations: 47.89 kB / 1.354 GB, free: 6.086 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.3399, allocations: 72.33 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.3438, allocations: 3.185 MB / 1.358 GB, free: 2.711 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.344, allocations: 203.4 kB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001431/0.3441, allocations: 54.27 kB / 1.358 GB, free: 2.438 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.3443, allocations: 79.41 kB / 1.358 GB, free: 2.359 MB / 1.045 GB Notification: Performance of SimCode: time 5.1e-07/0.3443, allocations: 0 / 1.358 GB, free: 2.359 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.3737, allocations: 7.169 MB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.05, allocations: 8.594 kB / 1.365 GB, free: 11.45 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.74974718503654]