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.001289/0.001289, allocations: 110.1 kB / 16.41 MB, free: 6.473 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.001154/0.001153, allocations: 185.5 kB / 17.34 MB, free: 5.75 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.195/1.195, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.183/2.183, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 71.88 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6485/0.6497, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.00212/0.6518, allocations: 1.578 MB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.6529, allocations: 0.9229 MB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.653, allocations: 7.938 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.6532, allocations: 67.66 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.6536, allocations: 143.3 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 2.964e-05/0.6536, allocations: 11.98 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.654, allocations: 370.3 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.11e-05/0.654, allocations: 44.69 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.6542, allocations: 147.4 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.6544, allocations: 135.3 kB / 1.171 GB, free: 464 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.6544, allocations: 16 kB / 1.171 GB, free: 448 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.745e-05/0.6544, allocations: 16 kB / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.6545, allocations: 51.75 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.6546, allocations: 135.2 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.6549, allocations: 275.4 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.6549, allocations: 0 / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.275e-06/0.6549, allocations: 3.984 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.6549, allocations: 0 / 1.171 GB, free: 15.97 MB / 0.9044 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.0008849/0.6558, allocations: 0.6457 MB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.6558, allocations: 8.922 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.6559, allocations: 32.75 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.6563, allocations: 402.5 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-06/0.6563, allocations: 384 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.6563, allocations: 4.375 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.6565, allocations: 105.3 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.6565, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.6565, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6565, allocations: 4 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.6566, allocations: 71.88 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.6569, allocations: 352.1 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.818e-05/0.657, allocations: 106.4 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.6571, allocations: 67.45 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.6571, allocations: 3.938 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.6571, allocations: 38.5 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.6571, allocations: 0 / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0002875/0.6574, allocations: 185.4 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.6575, allocations: 132.5 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/0.658, allocations: 0.5171 MB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.658, allocations: 25.7 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.51e-05/0.6581, allocations: 160.1 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.6581, allocations: 15.84 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.6582, allocations: 26.11 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.6583, allocations: 342.8 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.195e-05/0.6584, allocations: 35.89 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.597e-05/0.6584, allocations: 59.41 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.6585, allocations: 103.3 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6585, allocations: 0 / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000175/0.6587, allocations: 153.3 kB / 1.175 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.6587, allocations: 10.44 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.6588, allocations: 0 / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.6588, allocations: 4 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.88e-05/0.6589, allocations: 11.98 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.6589, allocations: 3.938 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.659, allocations: 20.06 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.659, allocations: 3.984 kB / 1.175 GB, free: 12.05 MB / 0.9044 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.0001261/0.6592, allocations: 173.8 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.6592, allocations: 35.73 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.6595, allocations: 183.7 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6595, allocations: 4.094 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6595, allocations: 8.109 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.6595, allocations: 0 / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.6597, allocations: 313.4 kB / 1.175 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6598, allocations: 0 / 1.175 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.059e-05/0.6598, allocations: 15.94 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.6599, allocations: 7.922 kB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.6599, allocations: 8 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.6599, allocations: 0 / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6599, allocations: 0 / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.6601, allocations: 195.3 kB / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.6602, allocations: 140.8 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.6603, allocations: 4 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.6604, allocations: 7.984 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.6604, allocations: 8 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.6604, allocations: 12 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003784/0.6608, allocations: 391 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6608, allocations: 0 / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000229/0.6611, allocations: 44 kB / 1.176 GB, free: 10.42 MB / 0.9044 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 7.443e-05/0.6611, allocations: 95.25 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.6613, allocations: 87.86 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6613, allocations: 4 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.321e-05/0.6614, allocations: 56.14 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.6617, allocations: 57.41 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008139/0.6625, allocations: 0.6133 MB / 1.177 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.6628, allocations: 0.8104 MB / 1.178 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.6629, allocations: 23.44 kB / 1.178 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of SimCode: time 1.393e-06/0.6629, allocations: 0 / 1.178 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of Templates: time 0.004573/0.6675, allocations: 3.714 MB / 1.181 GB, free: 4.906 MB / 0.9044 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches