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.001017/0.001017, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.005386/0.005386, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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.51/2.51, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 8 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6161/0.6165, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.001602/0.6181, allocations: 1.291 MB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.6193, allocations: 0.892 MB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.676e-05/0.6194, allocations: 7.938 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.6196, allocations: 55.73 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004758/0.6201, allocations: 135.5 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.805e-05/0.6202, allocations: 11.98 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.6206, allocations: 350.3 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.6208, allocations: 44.73 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.621, allocations: 135.3 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.6213, allocations: 131.3 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.6213, allocations: 12 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004083/0.6254, allocations: 0.6641 MB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.6255, allocations: 47.75 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.6256, allocations: 152.9 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.6392, allocations: 13.29 MB / 1.04 GB, free: 14.54 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6392, allocations: 0 / 1.04 GB, free: 14.54 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6392, allocations: 0 / 1.04 GB, free: 14.54 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.6392, allocations: 0 / 1.04 GB, free: 14.54 MB / 0.795 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.001204/0.6405, allocations: 0.6032 MB / 1.04 GB, free: 13.89 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.6405, allocations: 8.031 kB / 1.04 GB, free: 13.88 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.492e-05/0.6406, allocations: 40.56 kB / 1.04 GB, free: 13.84 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.641, allocations: 374.2 kB / 1.041 GB, free: 13.43 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.641, allocations: 8.375 kB / 1.041 GB, free: 13.43 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.6411, allocations: 4.375 kB / 1.041 GB, free: 13.42 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.6412, allocations: 105.3 kB / 1.041 GB, free: 13.3 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.6412, allocations: 0 / 1.041 GB, free: 13.3 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.6413, allocations: 0 / 1.041 GB, free: 13.3 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.6413, allocations: 4 kB / 1.041 GB, free: 13.3 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.658e-05/0.6414, allocations: 67.86 kB / 1.041 GB, free: 13.23 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.6417, allocations: 348.2 kB / 1.041 GB, free: 12.83 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.6419, allocations: 110.4 kB / 1.041 GB, free: 12.69 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.472e-05/0.6419, allocations: 67.39 kB / 1.041 GB, free: 12.61 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.642, allocations: 4 kB / 1.041 GB, free: 12.61 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.642, allocations: 38.44 kB / 1.042 GB, free: 12.56 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.642, allocations: 0 / 1.042 GB, free: 12.56 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0003195/0.6423, allocations: 189.5 kB / 1.042 GB, free: 12.37 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.6424, allocations: 132.5 kB / 1.042 GB, free: 12.21 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005533/0.643, allocations: 0.5052 MB / 1.042 GB, free: 11.7 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.643, allocations: 25.7 kB / 1.042 GB, free: 11.66 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.6432, allocations: 156.3 kB / 1.042 GB, free: 11.5 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.6432, allocations: 15.89 kB / 1.043 GB, free: 11.49 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.6433, allocations: 21.72 kB / 1.043 GB, free: 11.46 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.6434, allocations: 342.9 kB / 1.043 GB, free: 11.12 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.6435, allocations: 123.9 kB / 1.043 GB, free: 11 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.6437, allocations: 188.4 kB / 1.043 GB, free: 10.79 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.6441, allocations: 263.2 kB / 1.043 GB, free: 10.52 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6441, allocations: 0 / 1.043 GB, free: 10.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004215/0.6445, allocations: 337 kB / 1.044 GB, free: 10.18 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.6445, allocations: 11.94 kB / 1.044 GB, free: 10.17 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6445, allocations: 0 / 1.044 GB, free: 10.17 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.6445, allocations: 0 / 1.044 GB, free: 10.17 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.6447, allocations: 15.98 kB / 1.044 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.6447, allocations: 4 kB / 1.044 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.6449, allocations: 23.81 kB / 1.044 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.6449, allocations: 4 kB / 1.044 GB, free: 10.12 MB / 0.795 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.0002389/0.6451, allocations: 190.2 kB / 1.044 GB, free: 9.93 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.6452, allocations: 39.47 kB / 1.044 GB, free: 9.891 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.6455, allocations: 184 kB / 1.044 GB, free: 9.703 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6455, allocations: 0 / 1.044 GB, free: 9.703 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6455, allocations: 3.938 kB / 1.044 GB, free: 9.699 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6455, allocations: 4 kB / 1.044 GB, free: 9.695 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.6458, allocations: 285.4 kB / 1.044 GB, free: 9.367 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6458, allocations: 8.125 kB / 1.044 GB, free: 9.359 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-05/0.6459, allocations: 15.98 kB / 1.044 GB, free: 9.344 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.6459, allocations: 3.938 kB / 1.044 GB, free: 9.34 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.6459, allocations: 4 kB / 1.044 GB, free: 9.336 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6459, allocations: 0 / 1.044 GB, free: 9.336 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6459, allocations: 0 / 1.044 GB, free: 9.336 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.6461, allocations: 191.2 kB / 1.045 GB, free: 9.121 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.6463, allocations: 140.5 kB / 1.045 GB, free: 8.965 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.6463, allocations: 4 kB / 1.045 GB, free: 8.961 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.6464, allocations: 11.98 kB / 1.045 GB, free: 8.949 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.6465, allocations: 7.984 kB / 1.045 GB, free: 8.941 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.6465, allocations: 8 kB / 1.045 GB, free: 8.934 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004086/0.6469, allocations: 379 kB / 1.045 GB, free: 8.562 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/0.6469, allocations: 4 kB / 1.045 GB, free: 8.559 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000442/0.6474, allocations: 104 kB / 1.045 GB, free: 8.457 MB / 0.795 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.004926/0.6523, allocations: 2.803 MB / 1.048 GB, free: 5.641 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000361/0.6527, allocations: 191.8 kB / 1.048 GB, free: 5.453 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.6527, allocations: 4 kB / 1.048 GB, free: 5.449 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.926e-05/0.6528, allocations: 51.89 kB / 1.048 GB, free: 5.398 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.6532, allocations: 54.23 kB / 1.048 GB, free: 5.348 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008993/0.6541, allocations: 0.6774 MB / 1.049 GB, free: 4.637 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.6544, allocations: 0.8184 MB / 1.05 GB, free: 3.793 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001926/0.6546, allocations: 46.28 kB / 1.05 GB, free: 3.746 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.6548, allocations: 19.44 kB / 1.05 GB, free: 3.727 MB / 0.795 GB Notification: Performance of SimCode: time 4.21e-07/0.6548, allocations: 4 kB / 1.05 GB, free: 3.723 MB / 0.795 GB Notification: Performance of Templates: time 0.01278/0.6676, allocations: 7.627 MB / 1.057 GB, free: 12.14 MB / 0.8106 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches