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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001464/0.001464, allocations: 106 kB / 16.27 MB, free: 6.41 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.001304/0.001304, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.463/1.463, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.884/2.884, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 62.83 kB / 0.9245 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8925/0.8944, allocations: 162.2 MB / 1.083 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003068/0.8976, allocations: 1.58 MB / 1.084 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.899, allocations: 0.9067 MB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.663e-05/0.8991, allocations: 5.125 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.8994, allocations: 72.08 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004937/0.9, allocations: 140.7 kB / 1.086 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.365e-05/0.9, allocations: 4.094 kB / 1.086 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.9005, allocations: 378.9 kB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.9006, allocations: 42.94 kB / 1.086 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.9009, allocations: 141.6 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.9011, allocations: 133 kB / 1.086 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.402e-05/0.9012, allocations: 15.28 kB / 1.086 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.451e-05/0.9012, allocations: 15.62 kB / 1.086 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.9014, allocations: 56.34 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.9015, allocations: 130.2 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.9019, allocations: 285.2 kB / 1.087 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.9019, allocations: 0 / 1.087 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9019, allocations: 0 / 1.087 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.9019, allocations: 4 kB / 1.087 GB, free: 15.21 MB / 0.8419 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.001264/0.9032, allocations: 0.6199 MB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.9033, allocations: 9.656 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.266e-05/0.9034, allocations: 31.61 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.9039, allocations: 390 kB / 1.088 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.904, allocations: 9.438 kB / 1.088 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.904, allocations: 2.5 kB / 1.088 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.9042, allocations: 96.64 kB / 1.088 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.9042, allocations: 0.6562 kB / 1.088 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.9042, allocations: 1.062 kB / 1.088 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.9042, allocations: 3.984 kB / 1.088 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.9044, allocations: 79.88 kB / 1.088 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.9048, allocations: 352.7 kB / 1.088 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.905, allocations: 106 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.803e-05/0.9051, allocations: 62.95 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.9051, allocations: 5.031 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.9052, allocations: 37.58 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.9052, allocations: 0 / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004073/0.9056, allocations: 187 kB / 1.089 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.16e-05/0.9057, allocations: 134.5 kB / 1.089 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007169/0.9064, allocations: 0.5105 MB / 1.089 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.9065, allocations: 26.61 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.9066, allocations: 164.3 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.9067, allocations: 15.09 kB / 1.089 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.9067, allocations: 26.39 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.9069, allocations: 345.7 kB / 1.09 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.907, allocations: 34.41 kB / 1.09 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.968e-05/0.9071, allocations: 57.92 kB / 1.09 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.9073, allocations: 104.1 kB / 1.09 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9073, allocations: 0 / 1.09 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000245/0.9075, allocations: 147.2 kB / 1.09 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.9076, allocations: 9.406 kB / 1.09 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.9076, allocations: 5.188 kB / 1.09 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.9076, allocations: 2.25 kB / 1.09 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.9077, allocations: 10.91 kB / 1.09 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.9077, allocations: 0.875 kB / 1.09 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.9079, allocations: 14.8 kB / 1.09 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.9079, allocations: 7.109 kB / 1.09 GB, free: 12.63 MB / 0.8419 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.0001843/0.9081, allocations: 177.5 kB / 1.09 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.9082, allocations: 35.19 kB / 1.09 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.9085, allocations: 189.4 kB / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.9085, allocations: 2 kB / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.9086, allocations: 1.703 kB / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.9086, allocations: 2.156 kB / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.909, allocations: 309.3 kB / 1.091 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.909, allocations: 0 / 1.091 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/0.9091, allocations: 19.62 kB / 1.091 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.9091, allocations: 5.281 kB / 1.091 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.9091, allocations: 1.766 kB / 1.091 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.9091, allocations: 2.047 kB / 1.091 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9091, allocations: 1.094 kB / 1.091 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.9094, allocations: 194.5 kB / 1.091 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.9096, allocations: 135.5 kB / 1.091 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/0.9097, allocations: 6.938 kB / 1.091 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.9098, allocations: 13.83 kB / 1.091 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.9098, allocations: 9.734 kB / 1.091 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.9098, allocations: 3.25 kB / 1.091 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005933/0.9104, allocations: 396.5 kB / 1.092 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9105, allocations: 0 / 1.092 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002766/0.9107, allocations: 37.31 kB / 1.092 GB, free: 11.7 MB / 0.8419 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.0001452/0.9109, allocations: 106.9 kB / 1.092 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.9111, allocations: 96.75 kB / 1.092 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9111, allocations: 4.062 kB / 1.092 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.9112, allocations: 47.67 kB / 1.092 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.9116, allocations: 63.17 kB / 1.092 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.9129, allocations: 0.6098 MB / 1.093 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.9134, allocations: 0.8069 MB / 1.093 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.231e-05/0.9135, allocations: 26.09 kB / 1.093 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of SimCode: time 4.11e-07/0.9135, allocations: 0 / 1.093 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.008876/0.9223, allocations: 3.691 MB / 1.097 GB, free: 10.15 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=400 -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