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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008403/0.0008402, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0009634/0.0009635, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.713/2.713, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004481, allocations: 12 kB / 0.8153 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7405/0.741, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.001978/0.743, allocations: 1.264 MB / 0.9557 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.7444, allocations: 0.8431 MB / 0.9565 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.7445, allocations: 5.094 kB / 0.9565 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.7448, allocations: 49.92 kB / 0.9565 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006905/0.7455, allocations: 117 kB / 0.9567 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.905e-05/0.7456, allocations: 10.33 kB / 0.9567 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000542/0.7461, allocations: 318.2 kB / 0.957 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.7463, allocations: 45.36 kB / 0.957 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003853/0.7467, allocations: 131.6 kB / 0.9571 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.747, allocations: 130.9 kB / 0.9573 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.189e-05/0.7471, allocations: 11.47 kB / 0.9573 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003227/0.7503, allocations: 489 kB / 0.9577 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.966e-05/0.7504, allocations: 47.09 kB / 0.9578 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.7505, allocations: 75.92 kB / 0.9579 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006485/0.7512, allocations: 442.4 kB / 0.9583 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7512, allocations: 1.375 kB / 0.9583 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7512, allocations: 0 / 0.9583 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.7512, allocations: 4 kB / 0.9583 GB, free: 4.988 MB / 0.7169 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.001575/0.7528, allocations: 0.6064 MB / 0.9589 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.7529, allocations: 9.625 kB / 0.9589 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.753, allocations: 37.33 kB / 0.9589 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.7535, allocations: 359.9 kB / 0.9593 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.7536, allocations: 2.75 kB / 0.9593 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.7536, allocations: 4.125 kB / 0.9593 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.7537, allocations: 101.6 kB / 0.9594 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.7538, allocations: 0 / 0.9594 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.7538, allocations: 0 / 0.9594 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.7538, allocations: 5.375 kB / 0.9594 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.463e-05/0.7539, allocations: 68.61 kB / 0.9594 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.7543, allocations: 348 kB / 0.9598 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.7544, allocations: 111.3 kB / 0.9599 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.42e-05/0.7545, allocations: 59.88 kB / 0.9599 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.7545, allocations: 5.016 kB / 0.9599 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.7546, allocations: 40.62 kB / 0.96 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.7546, allocations: 0 / 0.96 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003714/0.7549, allocations: 184.7 kB / 0.9602 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.755, allocations: 130.2 kB / 0.9603 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006122/0.7556, allocations: 0.5003 MB / 0.9608 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.7556, allocations: 30.61 kB / 0.9608 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.385e-05/0.7557, allocations: 161 kB / 0.9609 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.7558, allocations: 14.28 kB / 0.961 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.7558, allocations: 4 kB / 0.961 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.7559, allocations: 352.6 kB / 0.9613 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.756, allocations: 117.5 kB / 0.9614 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.7562, allocations: 179.7 kB / 0.9616 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.7564, allocations: 134 kB / 0.9617 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7564, allocations: 1 kB / 0.9617 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004208/0.7569, allocations: 327.9 kB / 0.962 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.7569, allocations: 6.125 kB / 0.962 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.7569, allocations: 2.469 kB / 0.962 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.7569, allocations: 1.375 kB / 0.962 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.7571, allocations: 19.92 kB / 0.9621 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.7571, allocations: 1.469 kB / 0.9621 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.7573, allocations: 25.56 kB / 0.9621 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.7573, allocations: 7.703 kB / 0.9621 GB, free: 1.832 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.7574, allocations: 188.1 kB / 0.9623 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.7575, allocations: 29.59 kB / 0.9623 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.7578, allocations: 184.5 kB / 0.9625 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.7578, allocations: 2.594 kB / 0.9625 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.7578, allocations: 1.594 kB / 0.9625 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.7578, allocations: 5.125 kB / 0.9625 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.758, allocations: 296.5 kB / 0.9628 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.7581, allocations: 1.188 kB / 0.9628 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.339e-05/0.7581, allocations: 15.95 kB / 0.9628 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.7582, allocations: 1.438 kB / 0.9628 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.7582, allocations: 5.125 kB / 0.9628 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.7582, allocations: 5.281 kB / 0.9628 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7582, allocations: 1.219 kB / 0.9628 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.7584, allocations: 197.2 kB / 0.963 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.7585, allocations: 135 kB / 0.9631 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.132e-05/0.7586, allocations: 2.625 kB / 0.9631 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.7587, allocations: 13.33 kB / 0.9631 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.7588, allocations: 6.719 kB / 0.9631 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.7588, allocations: 11.27 kB / 0.9631 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003983/0.7592, allocations: 371 kB / 0.9635 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7592, allocations: 3.938 kB / 0.9635 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004711/0.7597, allocations: 108.6 kB / 0.9636 GB, free: 0.6914 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004094/0.7601, allocations: 136.6 kB / 0.9637 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.7604, allocations: 191.5 kB / 0.9639 GB, free: 496 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7604, allocations: 4 kB / 0.9639 GB, free: 492 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.459e-05/0.7605, allocations: 50.59 kB / 0.964 GB, free: 468 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.7608, allocations: 49.56 kB / 0.964 GB, free: 444 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009157/0.7618, allocations: 0.6647 MB / 0.9647 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.7621, allocations: 0.814 MB / 0.9655 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.7623, allocations: 47.59 kB / 0.9655 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.7624, allocations: 19.59 kB / 0.9655 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.7624, allocations: 4 kB / 0.9655 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of Templates: time 0.01489/0.7773, allocations: 6.428 MB / 0.9718 GB, free: 11.88 MB / 0.7325 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