Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.836/2.836, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 71.89 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6006/0.6028, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003094/0.6059, allocations: 1.579 MB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.6076, allocations: 0.9112 MB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.528e-05/0.6077, allocations: 4 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.608, allocations: 59.67 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.6085, allocations: 143.3 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.001e-05/0.6085, allocations: 7.984 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004856/0.609, allocations: 370.3 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.6091, allocations: 56.72 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.6093, allocations: 127.4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.6096, allocations: 143.3 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.6096, allocations: 16 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.575e-05/0.6097, allocations: 16 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.543e-05/0.6098, allocations: 47.77 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.6099, allocations: 139.2 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.6103, allocations: 292.8 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6103, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6103, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.6103, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 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.001147/0.6114, allocations: 0.6145 MB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.6115, allocations: 12.03 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/0.6116, allocations: 32.56 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005098/0.6121, allocations: 386.2 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.6121, allocations: 4.312 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.6121, allocations: 4.375 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.6123, allocations: 105.3 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.6123, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.6123, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.6124, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.6125, allocations: 71.86 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.6129, allocations: 352.1 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.6131, allocations: 106.4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.398e-05/0.6132, allocations: 55.47 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.6132, allocations: 11.98 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.6132, allocations: 42.44 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.6132, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003608/0.6136, allocations: 185.1 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.6137, allocations: 128.5 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/0.6144, allocations: 0.5132 MB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.6144, allocations: 30.2 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.6145, allocations: 172.1 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.6146, allocations: 11.75 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.6146, allocations: 21.7 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.6148, allocations: 342.8 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.847e-05/0.6149, allocations: 31.97 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-05/0.615, allocations: 59.39 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.6151, allocations: 103.3 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6151, allocations: 0 / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002352/0.6154, allocations: 153.1 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.6154, allocations: 7.938 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.6154, allocations: 128 / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6154, allocations: 8 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.6155, allocations: 7.984 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.6156, allocations: 7.984 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.6157, allocations: 7.984 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.6157, allocations: 4 kB / 1.025 GB, free: 10.71 MB / 0.7794 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.0001695/0.6159, allocations: 173.8 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.616, allocations: 43.41 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.6163, allocations: 191.7 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6163, allocations: 0 / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.6163, allocations: 4 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6163, allocations: 0 / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.6167, allocations: 305.3 kB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6167, allocations: 7.984 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.61e-05/0.6168, allocations: 19.94 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.6168, allocations: 8.062 kB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.6168, allocations: 4 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.6168, allocations: 4 kB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6168, allocations: 0 / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.6171, allocations: 187.3 kB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.6173, allocations: 144.6 kB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.6173, allocations: 7.891 kB / 1.026 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.6175, allocations: 19.92 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.6175, allocations: 4 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.6175, allocations: 0 / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00048/0.618, allocations: 399 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.618, allocations: 0 / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002708/0.6183, allocations: 36 kB / 1.026 GB, free: 9.07 MB / 0.7794 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.0001159/0.6184, allocations: 103.2 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.6186, allocations: 91.86 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6186, allocations: 0 / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.446e-05/0.6187, allocations: 47.91 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.6191, allocations: 65.91 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.6201, allocations: 0.577 MB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.6206, allocations: 0.8182 MB / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001355/0.6207, allocations: 54.27 kB / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.6208, allocations: 19.44 kB / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.6208, allocations: 0 / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.007783/0.6286, allocations: 3.593 MB / 1.031 GB, free: 3.691 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches