Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001265/0.00127, allocations: 107 kB / 16.36 MB, free: 6.336 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.001185/0.001185, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.321/1.321, 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 11.0.0-master/package.mo): time 2.379/2.379, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.03 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2723, allocations: 153 MB / 1.027 GB, free: 2.113 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002527/0.2748, allocations: 1.579 MB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.2762, allocations: 0.9266 MB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.723e-05/0.2762, allocations: 11.88 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.2765, allocations: 51.72 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.2769, allocations: 147.3 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.273e-05/0.2769, allocations: 11.98 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.2773, allocations: 382.3 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.159e-05/0.2774, allocations: 40.75 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.2776, allocations: 147.3 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.2778, allocations: 131.3 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.2778, allocations: 16 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.753e-05/0.2779, allocations: 16 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.156e-05/0.278, allocations: 47.77 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.2781, allocations: 139.1 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.2784, allocations: 275 kB / 1.031 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2784, allocations: 0 / 1.031 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.71e-07/0.2784, allocations: 4 kB / 1.031 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.2784, allocations: 0 / 1.031 GB, free: 14.19 MB / 0.8106 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.001066/0.2795, allocations: 0.6301 MB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.2795, allocations: 8.031 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.2796, allocations: 36.56 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.2801, allocations: 390.3 kB / 1.032 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.2801, allocations: 384 / 1.032 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.2801, allocations: 4.375 kB / 1.032 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.2802, allocations: 105.3 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2803, allocations: 0 / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.2803, allocations: 4 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2803, allocations: 4 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.2804, allocations: 67.88 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.2807, allocations: 352.1 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.2809, allocations: 110.4 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.473e-05/0.281, allocations: 59.47 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.281, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.281, allocations: 46.42 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.314e-06/0.281, allocations: 7.984 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003348/0.2814, allocations: 185 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.2814, allocations: 136.5 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005809/0.282, allocations: 0.5171 MB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.2821, allocations: 25.7 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.2822, allocations: 160.6 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.2822, allocations: 11.91 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.2823, allocations: 25.61 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2824, allocations: 342.8 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.12e-05/0.2825, allocations: 31.95 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.486e-05/0.2825, allocations: 63.34 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.2827, allocations: 103.3 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2827, allocations: 0 / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002078/0.2829, allocations: 149.2 kB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2829, allocations: 7.938 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.2829, allocations: 4 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.2829, allocations: 3.938 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2831, allocations: 16.11 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2831, allocations: 0 / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.2832, allocations: 15.89 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.2833, allocations: 3.984 kB / 1.034 GB, free: 10.3 MB / 0.8106 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.000155/0.2834, allocations: 177.7 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.2835, allocations: 31.56 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.2838, allocations: 191.7 kB / 1.034 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2838, allocations: 4 kB / 1.034 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2838, allocations: 0 / 1.034 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2838, allocations: 0 / 1.034 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.2841, allocations: 313.4 kB / 1.035 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2841, allocations: 0 / 1.035 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.753e-05/0.2842, allocations: 15.94 kB / 1.035 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.2842, allocations: 3.938 kB / 1.035 GB, free: 9.504 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.2842, allocations: 11.98 kB / 1.035 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2842, allocations: 0 / 1.035 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2842, allocations: 4.125 kB / 1.035 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.2845, allocations: 191.2 kB / 1.035 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.2847, allocations: 140.5 kB / 1.035 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.2847, allocations: 7.938 kB / 1.035 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.2849, allocations: 7.984 kB / 1.035 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.2849, allocations: 15.94 kB / 1.035 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.2849, allocations: 4 kB / 1.035 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004074/0.2853, allocations: 391 kB / 1.035 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2853, allocations: 4 kB / 1.035 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002433/0.2856, allocations: 40 kB / 1.035 GB, free: 8.66 MB / 0.8106 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 8.578e-05/0.2857, allocations: 95.25 kB / 1.036 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.2858, allocations: 87.86 kB / 1.036 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.2858, allocations: 0 / 1.036 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.185e-05/0.2859, allocations: 47.91 kB / 1.036 GB, free: 8.426 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.2863, allocations: 81.98 kB / 1.036 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009307/0.2872, allocations: 0.5731 MB / 1.036 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.2876, allocations: 0.8182 MB / 1.037 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.2877, allocations: 54.2 kB / 1.037 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.2878, allocations: 23.44 kB / 1.037 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.2878, allocations: 0 / 1.037 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of Templates: time 0.007365/0.2952, allocations: 3.569 MB / 1.041 GB, free: 3.328 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches