Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001351/0.001351, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001405/0.001405, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.932/2.932, allocations: 0.49 GB / 0.7923 GB, free: 1.332 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_12_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.002226/0.002226, allocations: 63.91 kB / 1.149 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.948/0.9503, allocations: 176.1 MB / 1.321 GB, free: 7.66 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002973/0.9532, allocations: 1.608 MB / 1.323 GB, free: 6.391 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.9549, allocations: 0.9565 MB / 1.324 GB, free: 5.629 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.602e-05/0.9549, allocations: 1.094 kB / 1.324 GB, free: 5.629 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.9552, allocations: 64.95 kB / 1.324 GB, free: 5.582 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.9557, allocations: 142.8 kB / 1.324 GB, free: 5.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.718e-05/0.9557, allocations: 14.47 kB / 1.324 GB, free: 5.469 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.9561, allocations: 372.8 kB / 1.325 GB, free: 5.246 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.616e-05/0.9562, allocations: 34.52 kB / 1.325 GB, free: 5.23 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.9565, allocations: 150.3 kB / 1.325 GB, free: 5.152 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.9567, allocations: 137 kB / 1.325 GB, free: 5.066 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.9568, allocations: 15.59 kB / 1.325 GB, free: 5.066 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.263e-05/0.9568, allocations: 15.5 kB / 1.325 GB, free: 5.066 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.914e-05/0.9569, allocations: 56.77 kB / 1.325 GB, free: 5.02 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.957, allocations: 129 kB / 1.325 GB, free: 4.934 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.9574, allocations: 290.5 kB / 1.325 GB, free: 4.754 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.9574, allocations: 1.469 kB / 1.325 GB, free: 4.754 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9574, allocations: 0 / 1.325 GB, free: 4.754 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.9574, allocations: 3.938 kB / 1.325 GB, free: 4.75 MB / 1.014 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.001264/0.9587, allocations: 0.6363 MB / 1.326 GB, free: 4.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.9587, allocations: 14.05 kB / 1.326 GB, free: 4.176 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.393e-05/0.9587, allocations: 1.5 kB / 1.326 GB, free: 4.176 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.9588, allocations: 34.75 kB / 1.326 GB, free: 4.133 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.43e-05/0.9588, allocations: 35.03 kB / 1.326 GB, free: 4.113 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.9594, allocations: 392.8 kB / 1.326 GB, free: 3.785 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.9594, allocations: 8.312 kB / 1.326 GB, free: 3.777 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.9594, allocations: 1.812 kB / 1.326 GB, free: 3.777 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.9596, allocations: 110.7 kB / 1.326 GB, free: 3.672 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.9596, allocations: 0 / 1.326 GB, free: 3.672 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.9596, allocations: 1.094 kB / 1.326 GB, free: 3.672 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.9597, allocations: 0 / 1.326 GB, free: 3.672 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.9598, allocations: 69.22 kB / 1.327 GB, free: 3.637 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.9603, allocations: 357.2 kB / 1.327 GB, free: 3.301 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.9604, allocations: 103.5 kB / 1.327 GB, free: 3.184 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/0.9605, allocations: 63.36 kB / 1.327 GB, free: 3.129 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.9605, allocations: 9.125 kB / 1.327 GB, free: 3.121 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.9606, allocations: 36.66 kB / 1.327 GB, free: 3.078 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.9606, allocations: 0 / 1.327 GB, free: 3.078 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004002/0.961, allocations: 184.9 kB / 1.327 GB, free: 2.965 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.9611, allocations: 139.3 kB / 1.327 GB, free: 2.801 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007176/0.9618, allocations: 0.513 MB / 1.328 GB, free: 2.492 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.9618, allocations: 25.7 kB / 1.328 GB, free: 2.461 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.9619, allocations: 164.3 kB / 1.328 GB, free: 2.312 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.962, allocations: 14.06 kB / 1.328 GB, free: 2.301 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.962, allocations: 22.61 kB / 1.328 GB, free: 2.277 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.9622, allocations: 340.2 kB / 1.328 GB, free: 1.945 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.105e-05/0.9623, allocations: 36.86 kB / 1.328 GB, free: 1.926 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.3e-05/0.9624, allocations: 58.97 kB / 1.329 GB, free: 1.875 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.9625, allocations: 100.4 kB / 1.329 GB, free: 1.805 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9625, allocations: 0 / 1.329 GB, free: 1.805 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000257/0.9628, allocations: 159 kB / 1.329 GB, free: 1.699 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.9628, allocations: 5.406 kB / 1.329 GB, free: 1.699 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.9628, allocations: 1.438 kB / 1.329 GB, free: 1.699 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.9628, allocations: 5.203 kB / 1.329 GB, free: 1.695 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.963, allocations: 7.75 kB / 1.329 GB, free: 1.695 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.963, allocations: 5.25 kB / 1.329 GB, free: 1.691 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.9631, allocations: 13.12 kB / 1.329 GB, free: 1.684 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.9632, allocations: 2.531 kB / 1.329 GB, free: 1.684 MB / 1.014 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.0001927/0.9634, allocations: 180 kB / 1.329 GB, free: 1.531 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.9634, allocations: 39.39 kB / 1.329 GB, free: 1.508 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.9638, allocations: 186.5 kB / 1.329 GB, free: 1.391 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.9638, allocations: 2.094 kB / 1.329 GB, free: 1.391 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.9638, allocations: 1.031 kB / 1.329 GB, free: 1.391 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.9638, allocations: 1.125 kB / 1.329 GB, free: 1.391 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.9643, allocations: 310.5 kB / 1.33 GB, free: 1.098 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.9643, allocations: 9.25 kB / 1.33 GB, free: 1.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.9644, allocations: 16.89 kB / 1.33 GB, free: 1.086 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.9644, allocations: 6.281 kB / 1.33 GB, free: 1.082 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.9644, allocations: 0 / 1.33 GB, free: 1.082 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.9644, allocations: 2.25 kB / 1.33 GB, free: 1.082 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.9644, allocations: 0 / 1.33 GB, free: 1.082 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.9647, allocations: 203.2 kB / 1.33 GB, free: 0.918 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.9648, allocations: 140.5 kB / 1.33 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.9649, allocations: 6.625 kB / 1.33 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.965, allocations: 8.484 kB / 1.33 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.9651, allocations: 11.8 kB / 1.33 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.9651, allocations: 2.562 kB / 1.33 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005438/0.9656, allocations: 396.1 kB / 1.33 GB, free: 0.543 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9656, allocations: 4 kB / 1.33 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000281/0.9659, allocations: 37.03 kB / 1.33 GB, free: 0.5391 MB / 1.014 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.0006853/0.9666, allocations: 0.7333 MB / 1.331 GB, free: 15.85 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.9668, allocations: 84.05 kB / 1.331 GB, free: 15.81 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.9668, allocations: 0 / 1.331 GB, free: 15.81 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.947e-05/0.9669, allocations: 48.98 kB / 1.331 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.9673, allocations: 69.73 kB / 1.331 GB, free: 15.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/0.9717, allocations: 3.181 MB / 1.334 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.9721, allocations: 0.8143 MB / 1.335 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001772/0.9723, allocations: 56.78 kB / 1.335 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.9725, allocations: 79.66 kB / 1.335 GB, free: 12.7 MB / 1.029 GB Notification: Performance of SimCode: time 9.12e-07/0.9725, allocations: 0.9062 kB / 1.335 GB, free: 12.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.999, allocations: 6.738 MB / 1.342 GB, free: 9.473 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.89/9.889, allocations: 7.781 kB / 1.342 GB, free: 9.469 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.253527984954417]