Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005871/0.005871, allocations: 98.52 kB / 15.73 MB, free: 6.02 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.001383/0.001383, allocations: 195.9 kB / 16.68 MB, free: 5.934 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.611/2.611, allocations: 469.8 MB / 0.7425 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.89 kB / 1.065 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7358/0.737, allocations: 159.1 MB / 1.221 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002567/0.7395, allocations: 1.571 MB / 1.222 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.7408, allocations: 0.9238 MB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.271e-05/0.7409, allocations: 0 / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.7411, allocations: 63.66 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004026/0.7415, allocations: 147.3 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 3.444e-05/0.7416, allocations: 11.94 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.742, allocations: 374.3 kB / 1.224 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.602e-05/0.742, allocations: 28.75 kB / 1.224 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.7422, allocations: 147.3 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.7424, allocations: 147.3 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.7424, allocations: 16 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.591e-05/0.7425, allocations: 12 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.7425, allocations: 51.72 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.7427, allocations: 127.2 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.7429, allocations: 287.3 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7429, allocations: 0 / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.183e-06/0.7429, allocations: 0 / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.7429, allocations: 0 / 1.224 GB, free: 14.26 MB / 0.9512 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.001039/0.744, allocations: 0.6418 MB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.744, allocations: 8.031 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.7441, allocations: 36.7 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.7446, allocations: 394.5 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.7446, allocations: 384 / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.7446, allocations: 8.375 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.7447, allocations: 97.33 kB / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.7447, allocations: 0 / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.7448, allocations: 4 kB / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.7448, allocations: 0 / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.7449, allocations: 67.86 kB / 1.226 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.7452, allocations: 368.1 kB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.7453, allocations: 102.3 kB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.63e-05/0.7454, allocations: 67.45 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.7454, allocations: 0 / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.7455, allocations: 38.5 kB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.7455, allocations: 0 / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0003125/0.7458, allocations: 189.7 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.7458, allocations: 136.5 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005496/0.7464, allocations: 0.5093 MB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.7464, allocations: 25.7 kB / 1.227 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.7465, allocations: 164.1 kB / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.7465, allocations: 19.83 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.7466, allocations: 17.72 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7467, allocations: 346.8 kB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.247e-05/0.7467, allocations: 35.97 kB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.356e-05/0.7468, allocations: 59.39 kB / 1.228 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.7469, allocations: 103.3 kB / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.7469, allocations: 4 kB / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002025/0.7471, allocations: 145.3 kB / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.7472, allocations: 11.94 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.7472, allocations: 0 / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.7472, allocations: 0 / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.7473, allocations: 19.86 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.7473, allocations: 4 kB / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.7474, allocations: 7.984 kB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.7474, allocations: 4 kB / 1.228 GB, free: 10.36 MB / 0.9512 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.0001517/0.7476, allocations: 178.4 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.7476, allocations: 39.75 kB / 1.228 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.748, allocations: 187.7 kB / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.748, allocations: 0 / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.748, allocations: 7.938 kB / 1.228 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.748, allocations: 128 / 1.228 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.7482, allocations: 313.4 kB / 1.229 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7482, allocations: 0 / 1.229 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.44e-05/0.7483, allocations: 15.98 kB / 1.229 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.7483, allocations: 7.938 kB / 1.229 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.7484, allocations: 0 / 1.229 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.7484, allocations: 4 kB / 1.229 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7484, allocations: 0 / 1.229 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.7486, allocations: 199.4 kB / 1.229 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.7487, allocations: 136.8 kB / 1.229 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/0.7488, allocations: 8 kB / 1.229 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.7489, allocations: 7.984 kB / 1.229 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.749, allocations: 7.984 kB / 1.229 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.749, allocations: 4 kB / 1.229 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004291/0.7494, allocations: 403 kB / 1.229 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.7494, allocations: 0 / 1.229 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002452/0.7496, allocations: 36 kB / 1.229 GB, free: 8.727 MB / 0.9512 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 9.242e-05/0.7497, allocations: 111.1 kB / 1.229 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.7499, allocations: 83.86 kB / 1.23 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7499, allocations: 0 / 1.23 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.474e-05/0.75, allocations: 44.34 kB / 1.23 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.7503, allocations: 77.48 kB / 1.23 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008908/0.7512, allocations: 0.5974 MB / 1.23 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.7516, allocations: 0.8143 MB / 1.231 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.7517, allocations: 46.27 kB / 1.231 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.7517, allocations: 23.42 kB / 1.231 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of SimCode: time 3.4e-07/0.7517, allocations: 4 kB / 1.231 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of Templates: time 0.006692/0.7584, allocations: 3.617 MB / 1.235 GB, free: 3.301 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches