Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001608/0.001608, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001932/0.001933, allocations: 194.7 kB / 16.26 MB, free: 6.621 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.514/2.514, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6166/0.6181, allocations: 140.4 MB / 0.9491 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003172/0.6213, allocations: 1.639 MB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.6229, allocations: 0.9049 MB / 0.9516 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.623, allocations: 6.5 kB / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.6233, allocations: 52.89 kB / 0.9516 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005713/0.6239, allocations: 127.7 kB / 0.9518 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.565e-05/0.624, allocations: 14.41 kB / 0.9518 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004455/0.6244, allocations: 360.4 kB / 0.9521 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.6245, allocations: 42.34 kB / 0.9522 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003108/0.6249, allocations: 154.3 kB / 0.9523 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.6251, allocations: 150.3 kB / 0.9524 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.958e-05/0.6252, allocations: 17.69 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004022/0.6292, allocations: 0.5574 MB / 0.953 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.6294, allocations: 59 kB / 0.9531 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.6296, allocations: 137.3 kB / 0.9532 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01345/0.6431, allocations: 13.31 MB / 0.9662 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.6431, allocations: 3.984 kB / 0.9662 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6431, allocations: 4 kB / 0.9662 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.6431, allocations: 1.219 kB / 0.9662 GB, free: 11.31 MB / 0.7325 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.002167/0.6453, allocations: 0.6449 MB / 0.9668 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.6454, allocations: 12.12 kB / 0.9668 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.6455, allocations: 32.12 kB / 0.9669 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006535/0.6462, allocations: 375.2 kB / 0.9672 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.6463, allocations: 7.438 kB / 0.9672 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.6463, allocations: 5.219 kB / 0.9672 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.6465, allocations: 97.83 kB / 0.9673 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.6465, allocations: 0 / 0.9673 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.6465, allocations: 9.312 kB / 0.9673 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6465, allocations: 3.984 kB / 0.9673 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.6466, allocations: 65.47 kB / 0.9674 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.6471, allocations: 355.3 kB / 0.9677 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.6473, allocations: 111.6 kB / 0.9679 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.604e-05/0.6474, allocations: 63.47 kB / 0.9679 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.6474, allocations: 2.125 kB / 0.9679 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.6474, allocations: 39.55 kB / 0.968 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.6474, allocations: 5.125 kB / 0.968 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003729/0.6478, allocations: 185.3 kB / 0.9681 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.6479, allocations: 129.7 kB / 0.9683 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006478/0.6486, allocations: 0.4998 MB / 0.9687 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.6486, allocations: 31.05 kB / 0.9688 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.6487, allocations: 156 kB / 0.9689 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.6487, allocations: 22.33 kB / 0.9689 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.199e-05/0.6488, allocations: 50.09 kB / 0.969 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.649, allocations: 343.8 kB / 0.9693 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.6492, allocations: 118 kB / 0.9694 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.6494, allocations: 181.4 kB / 0.9696 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.6498, allocations: 270.4 kB / 0.9699 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6498, allocations: 1.344 kB / 0.9699 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005016/0.6503, allocations: 329.1 kB / 0.9702 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.6503, allocations: 9.406 kB / 0.9702 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6503, allocations: 1.25 kB / 0.9702 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.6504, allocations: 1.25 kB / 0.9702 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.6505, allocations: 16.92 kB / 0.9702 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.6505, allocations: 1.125 kB / 0.9702 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.6507, allocations: 21.3 kB / 0.9702 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.6508, allocations: 11.23 kB / 0.9702 GB, free: 7.996 MB / 0.7325 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001848/0.651, allocations: 184.1 kB / 0.9704 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.651, allocations: 34.38 kB / 0.9705 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.6513, allocations: 185.2 kB / 0.9706 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.6514, allocations: 5.219 kB / 0.9706 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6514, allocations: 1.125 kB / 0.9706 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6514, allocations: 2 kB / 0.9706 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.6517, allocations: 288.5 kB / 0.9709 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6517, allocations: 0.8438 kB / 0.9709 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.827e-05/0.6518, allocations: 24.14 kB / 0.9709 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.6518, allocations: 5.031 kB / 0.9709 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.6518, allocations: 2.188 kB / 0.9709 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.6518, allocations: 1.062 kB / 0.9709 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6518, allocations: 1.375 kB / 0.9709 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.6521, allocations: 193 kB / 0.9711 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.6523, allocations: 142.1 kB / 0.9713 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.6523, allocations: 2.094 kB / 0.9713 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.6525, allocations: 13.45 kB / 0.9713 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.6525, allocations: 8.344 kB / 0.9713 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.6525, allocations: 2.125 kB / 0.9713 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004551/0.653, allocations: 378.8 kB / 0.9717 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.653, allocations: 0 / 0.9717 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007445/0.6537, allocations: 104.1 kB / 0.9717 GB, free: 6.867 MB / 0.7325 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.005416/0.6592, allocations: 2.805 MB / 0.9745 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004256/0.6596, allocations: 198.1 kB / 0.9747 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6596, allocations: 1.062 kB / 0.9747 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.6597, allocations: 45.88 kB / 0.9747 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.6601, allocations: 61.14 kB / 0.9748 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.6612, allocations: 0.6565 MB / 0.9754 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.6616, allocations: 0.8224 MB / 0.9762 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.6617, allocations: 47.67 kB / 0.9763 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.6618, allocations: 19.47 kB / 0.9763 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.6618, allocations: 0 / 0.9763 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of Templates: time 0.01343/0.6752, allocations: 7.849 MB / 0.984 GB, free: 13.81 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches