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.001145/0.001145, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001157/0.001157, allocations: 193.4 kB / 16.14 MB, free: 6.691 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.531 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.501/2.501, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.89 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6894/0.6907, allocations: 140.4 MB / 0.9489 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002877/0.6936, allocations: 1.632 MB / 0.9505 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.6949, allocations: 0.9094 MB / 0.9514 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.6951, allocations: 6.562 kB / 0.9514 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.6954, allocations: 56.53 kB / 0.9514 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004955/0.6959, allocations: 131.9 kB / 0.9516 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.723e-05/0.696, allocations: 5.266 kB / 0.9516 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.6963, allocations: 360.2 kB / 0.9519 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.657e-05/0.6964, allocations: 46.2 kB / 0.952 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.6967, allocations: 130.4 kB / 0.9521 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.6969, allocations: 127.8 kB / 0.9522 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.697, allocations: 14.55 kB / 0.9522 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00345/0.7004, allocations: 0.6581 MB / 0.9529 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.276e-05/0.7005, allocations: 47.88 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.7007, allocations: 130.2 kB / 0.953 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01487/0.7156, allocations: 13.3 MB / 0.966 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.7156, allocations: 0 / 0.966 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7156, allocations: 0 / 0.966 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.7157, allocations: 2.688 kB / 0.966 GB, free: 11.3 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.002326/0.718, allocations: 0.6504 MB / 0.9667 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.7181, allocations: 9.219 kB / 0.9667 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.7182, allocations: 34.91 kB / 0.9667 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005955/0.7188, allocations: 372.5 kB / 0.9671 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.7188, allocations: 3.188 kB / 0.9671 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.7189, allocations: 8.281 kB / 0.9671 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.7191, allocations: 105.7 kB / 0.9672 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7191, allocations: 3.984 kB / 0.9672 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.7191, allocations: 1.219 kB / 0.9672 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.7191, allocations: 1.219 kB / 0.9672 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.7193, allocations: 72 kB / 0.9672 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.7198, allocations: 348.1 kB / 0.9676 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.72, allocations: 111.8 kB / 0.9677 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.7201, allocations: 59.34 kB / 0.9677 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.7201, allocations: 2.062 kB / 0.9677 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.7201, allocations: 47.7 kB / 0.9678 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.7201, allocations: 0 / 0.9678 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004897/0.7206, allocations: 182.6 kB / 0.968 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/0.7207, allocations: 134 kB / 0.9681 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/0.7215, allocations: 0.5025 MB / 0.9686 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.7215, allocations: 27.86 kB / 0.9686 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.7217, allocations: 160.1 kB / 0.9688 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.7217, allocations: 14.08 kB / 0.9688 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.7218, allocations: 53.19 kB / 0.9688 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.722, allocations: 340.6 kB / 0.9692 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.7222, allocations: 126 kB / 0.9693 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.7224, allocations: 178 kB / 0.9694 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.7228, allocations: 262.9 kB / 0.9697 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.7228, allocations: 4 kB / 0.9697 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005645/0.7234, allocations: 333 kB / 0.97 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.7234, allocations: 9.75 kB / 0.97 GB, free: 8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.7234, allocations: 1.125 kB / 0.97 GB, free: 8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.7234, allocations: 1.094 kB / 0.97 GB, free: 8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.7236, allocations: 21.12 kB / 0.97 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.7236, allocations: 1.25 kB / 0.97 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.7238, allocations: 25.42 kB / 0.9701 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.7239, allocations: 8.172 kB / 0.9701 GB, free: 7.973 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.0002048/0.7241, allocations: 184.3 kB / 0.9703 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/0.7242, allocations: 37.03 kB / 0.9703 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.7246, allocations: 176.6 kB / 0.9705 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.7246, allocations: 6.281 kB / 0.9705 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.7246, allocations: 1.062 kB / 0.9705 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.7246, allocations: 1 kB / 0.9705 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.725, allocations: 289.5 kB / 0.9707 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.725, allocations: 5.156 kB / 0.9707 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.7251, allocations: 19.7 kB / 0.9708 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.7252, allocations: 5.031 kB / 0.9708 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.7252, allocations: 2.188 kB / 0.9708 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.7252, allocations: 1.062 kB / 0.9708 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7252, allocations: 1.094 kB / 0.9708 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.7255, allocations: 193.3 kB / 0.971 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.7257, allocations: 138.3 kB / 0.9711 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.7258, allocations: 14.06 kB / 0.9711 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.726, allocations: 9.484 kB / 0.9711 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.726, allocations: 8 kB / 0.9711 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.726, allocations: 6.703 kB / 0.9711 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005517/0.7266, allocations: 374.7 kB / 0.9715 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7266, allocations: 4 kB / 0.9715 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001355/0.7279, allocations: 104.3 kB / 0.9716 GB, free: 6.84 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.006727/0.7347, allocations: 2.793 MB / 0.9743 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005568/0.7353, allocations: 201.9 kB / 0.9745 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7353, allocations: 0 / 0.9745 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.7354, allocations: 46.41 kB / 0.9746 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006655/0.7361, allocations: 58.98 kB / 0.9746 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.7375, allocations: 0.6594 MB / 0.9753 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.738, allocations: 0.8198 MB / 0.9761 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001945/0.7382, allocations: 42.45 kB / 0.9761 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.715e-05/0.7383, allocations: 23.98 kB / 0.9761 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of SimCode: time 9.32e-07/0.7383, allocations: 4 kB / 0.9761 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of Templates: time 0.01639/0.7547, allocations: 7.702 MB / 0.9836 GB, free: 14.01 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