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.001422/0.001422, allocations: 108.9 kB / 16.41 MB, free: 6.438 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.001345/0.001345, allocations: 191.2 kB / 17.34 MB, free: 5.742 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.18 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.491/2.491, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 64.11 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8443/0.8458, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002708/0.8485, allocations: 1.579 MB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.8499, allocations: 0.9229 MB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.839e-05/0.85, allocations: 0 / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.8503, allocations: 63.64 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0005582/0.8509, allocations: 155.3 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.734e-05/0.851, allocations: 7.984 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004754/0.8515, allocations: 370.3 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.314e-05/0.8516, allocations: 44.75 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.8519, allocations: 139.4 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.8521, allocations: 139.3 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.8522, allocations: 16 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.042e-05/0.8523, allocations: 16 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.496e-05/0.8524, allocations: 55.7 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.8525, allocations: 123.3 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.8529, allocations: 300.5 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.8529, allocations: 7.938 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8529, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.8529, allocations: 0 / 1.171 GB, free: 15.91 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.001178/0.8541, allocations: 0.6146 MB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.8541, allocations: 12.03 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.79e-05/0.8542, allocations: 28.56 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005485/0.8548, allocations: 394.2 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.8548, allocations: 384 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.8548, allocations: 384 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.855, allocations: 101.4 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.855, allocations: 3.938 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.855, allocations: 8 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.855, allocations: 0 / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.8551, allocations: 71.8 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.8556, allocations: 360 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.8557, allocations: 106.4 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.8558, allocations: 63.45 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.8558, allocations: 7.984 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.8559, allocations: 42.44 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.8559, allocations: 0 / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0003589/0.8563, allocations: 181.1 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.8563, allocations: 133 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006001/0.8569, allocations: 0.5171 MB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.857, allocations: 25.7 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.8571, allocations: 164.1 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.8571, allocations: 15.75 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.8572, allocations: 21.7 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8573, allocations: 338.8 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.8574, allocations: 43.95 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.561e-05/0.8574, allocations: 55.41 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.8576, allocations: 107.3 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8576, allocations: 0 / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002147/0.8578, allocations: 145.2 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.8578, allocations: 11.94 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.8578, allocations: 0 / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.8579, allocations: 3.938 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.858, allocations: 11.98 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.858, allocations: 0 / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.8582, allocations: 15.97 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.8582, allocations: 0 / 1.175 GB, free: 12.04 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.0001534/0.8583, allocations: 177.8 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.8584, allocations: 43.66 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.8587, allocations: 179.7 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.8587, allocations: 0 / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.8587, allocations: 0 / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8587, allocations: 4 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.859, allocations: 309.4 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.859, allocations: 0 / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.79e-05/0.8591, allocations: 24.05 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.8592, allocations: 7.938 kB / 1.175 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.8592, allocations: 0 / 1.175 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.8592, allocations: 3.938 kB / 1.175 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8592, allocations: 4 kB / 1.175 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.8594, allocations: 191.2 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.8596, allocations: 136.6 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.8597, allocations: 8 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.8598, allocations: 11.92 kB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.8598, allocations: 7.938 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.8599, allocations: 7.984 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004265/0.8603, allocations: 395 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8603, allocations: 0 / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002475/0.8606, allocations: 36 kB / 1.176 GB, free: 10.41 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 0.0001042/0.8607, allocations: 107.2 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.8609, allocations: 87.86 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8609, allocations: 0 / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.494e-05/0.8609, allocations: 47.89 kB / 1.176 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.8613, allocations: 78.67 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009861/0.8623, allocations: 0.5981 MB / 1.177 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.8627, allocations: 0.8065 MB / 1.178 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.313e-05/0.8627, allocations: 23.44 kB / 1.178 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.8628, allocations: 0 / 1.178 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of Templates: time 0.006167/0.8689, allocations: 3.708 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