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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001087/0.001087, 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.001187/0.001187, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 66.94 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3499, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003645/0.3535, allocations: 1.65 MB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.355, allocations: 0.9189 MB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.626e-05/0.3551, allocations: 4 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.3554, allocations: 59.72 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004888/0.3559, allocations: 135.5 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.679e-05/0.3559, allocations: 3.984 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006082/0.3565, allocations: 358.3 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.682e-05/0.3566, allocations: 40.75 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.3569, allocations: 131.3 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.3572, allocations: 131.3 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.3572, allocations: 16 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.3607, allocations: 0.6602 MB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.796e-05/0.3608, allocations: 47.7 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.361, allocations: 127.3 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01506/0.376, allocations: 13.29 MB / 1.069 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3761, allocations: 0 / 1.069 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3761, allocations: 0 / 1.069 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.3761, allocations: 0 / 1.069 GB, free: 7.223 MB / 0.8262 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.001505/0.3776, allocations: 0.6498 MB / 1.07 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3776, allocations: 12.03 kB / 1.07 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.246e-05/0.3777, allocations: 28.56 kB / 1.07 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/0.3782, allocations: 374.3 kB / 1.07 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3782, allocations: 4.375 kB / 1.07 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.3783, allocations: 8.375 kB / 1.07 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.3784, allocations: 105.3 kB / 1.07 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3784, allocations: 0 / 1.07 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3785, allocations: 0 / 1.07 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3785, allocations: 3.938 kB / 1.07 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.3786, allocations: 71.86 kB / 1.07 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.379, allocations: 352 kB / 1.071 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.3791, allocations: 110.4 kB / 1.071 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.158e-05/0.3792, allocations: 59.45 kB / 1.071 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.3792, allocations: 3.938 kB / 1.071 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.3793, allocations: 46.5 kB / 1.071 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3793, allocations: 0 / 1.071 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003478/0.3796, allocations: 185 kB / 1.071 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.3797, allocations: 129 kB / 1.071 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005674/0.3803, allocations: 0.5092 MB / 1.072 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3803, allocations: 25.7 kB / 1.072 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.3804, allocations: 156.4 kB / 1.072 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.3805, allocations: 15.73 kB / 1.072 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.535e-05/0.3806, allocations: 53.61 kB / 1.072 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3808, allocations: 342.8 kB / 1.072 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.3809, allocations: 115.9 kB / 1.072 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.3812, allocations: 192.1 kB / 1.073 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.3815, allocations: 267.2 kB / 1.073 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3815, allocations: 0 / 1.073 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004727/0.382, allocations: 317.2 kB / 1.073 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.382, allocations: 7.938 kB / 1.073 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.382, allocations: 0 / 1.073 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3821, allocations: 8 kB / 1.073 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3822, allocations: 15.98 kB / 1.073 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.3822, allocations: 0 / 1.073 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.3824, allocations: 35.72 kB / 1.073 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.3824, allocations: 7.938 kB / 1.073 GB, free: 2.746 MB / 0.8262 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.0001574/0.3826, allocations: 181.7 kB / 1.073 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.3827, allocations: 35.56 kB / 1.073 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.383, allocations: 180 kB / 1.074 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.383, allocations: 4 kB / 1.074 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.383, allocations: 0 / 1.074 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.383, allocations: 0 / 1.074 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.3833, allocations: 297.3 kB / 1.074 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3833, allocations: 0 / 1.074 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.559e-05/0.3834, allocations: 23.98 kB / 1.074 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.3834, allocations: 7.938 kB / 1.074 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3834, allocations: 4.125 kB / 1.074 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3834, allocations: 0 / 1.074 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3834, allocations: 4 kB / 1.074 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.3836, allocations: 183.2 kB / 1.074 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.3838, allocations: 140.5 kB / 1.074 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.3838, allocations: 4 kB / 1.074 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.384, allocations: 11.98 kB / 1.074 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.384, allocations: 11.98 kB / 1.074 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.384, allocations: 0 / 1.074 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004342/0.3845, allocations: 379 kB / 1.075 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3845, allocations: 0 / 1.075 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000498/0.385, allocations: 100 kB / 1.075 GB, free: 1.098 MB / 0.8262 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.004836/0.3898, allocations: 2.819 MB / 1.078 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003796/0.3902, allocations: 187.7 kB / 1.078 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3902, allocations: 0 / 1.078 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.546e-05/0.3903, allocations: 47.97 kB / 1.078 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.3908, allocations: 53.47 kB / 1.078 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.3918, allocations: 0.6641 MB / 1.078 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.3922, allocations: 0.8146 MB / 1.079 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.3923, allocations: 46.28 kB / 1.079 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.3924, allocations: 19.44 kB / 1.079 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.3924, allocations: 4 kB / 1.079 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of Templates: time 0.01342/0.4058, allocations: 7.709 MB / 1.087 GB, free: 4.734 MB / 0.8419 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches