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.001089/0.001089, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.009025/0.009025, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.417/1.417, 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 9.1.3-maint.9.1.x/package.mo): time 2.436/2.436, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 8 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6418/0.6422, allocations: 142.4 MB / 0.955 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.001702/0.6439, allocations: 1.303 MB / 0.9563 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.6453, allocations: 0.8866 MB / 0.9572 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.6455, allocations: 2.719 kB / 0.9572 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.6457, allocations: 56.27 kB / 0.9572 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004645/0.6462, allocations: 140.2 kB / 0.9574 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.826e-05/0.6462, allocations: 6.109 kB / 0.9574 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003407/0.6466, allocations: 363.8 kB / 0.9577 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.549e-05/0.6467, allocations: 46.23 kB / 0.9577 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.6469, allocations: 125.5 kB / 0.9579 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.6471, allocations: 127.9 kB / 0.958 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.6472, allocations: 10.66 kB / 0.958 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.6506, allocations: 0.6627 MB / 0.9586 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.08e-05/0.6507, allocations: 43.2 kB / 0.9587 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.6508, allocations: 164.3 kB / 0.9588 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.6638, allocations: 13.29 MB / 0.9718 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6638, allocations: 1 kB / 0.9718 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.525e-06/0.6638, allocations: 0 / 0.9718 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.6638, allocations: 4 kB / 0.9718 GB, free: 10.07 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.001765/0.6656, allocations: 0.5951 MB / 0.9724 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.6657, allocations: 9.062 kB / 0.9724 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.6658, allocations: 35.83 kB / 0.9725 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.6663, allocations: 371.5 kB / 0.9728 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.6663, allocations: 3.625 kB / 0.9728 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.6664, allocations: 8.719 kB / 0.9728 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.6665, allocations: 105.5 kB / 0.9729 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.6666, allocations: 1.031 kB / 0.9729 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.6666, allocations: 0 / 0.9729 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6666, allocations: 0.9688 kB / 0.9729 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.6667, allocations: 77.58 kB / 0.973 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.6671, allocations: 346.8 kB / 0.9733 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.6673, allocations: 104.1 kB / 0.9734 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.972e-05/0.6674, allocations: 71.56 kB / 0.9735 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.6674, allocations: 1.062 kB / 0.9735 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.6674, allocations: 40.44 kB / 0.9735 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.6675, allocations: 1.125 kB / 0.9735 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003784/0.6678, allocations: 185.2 kB / 0.9737 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.6679, allocations: 137.5 kB / 0.9738 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006608/0.6686, allocations: 0.4996 MB / 0.9743 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.6686, allocations: 30.45 kB / 0.9744 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.6688, allocations: 168.5 kB / 0.9745 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.6688, allocations: 5.938 kB / 0.9745 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.6689, allocations: 30.92 kB / 0.9746 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.669, allocations: 344.6 kB / 0.9749 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.6692, allocations: 117.2 kB / 0.975 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.6694, allocations: 186.6 kB / 0.9752 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.6698, allocations: 266.3 kB / 0.9754 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6698, allocations: 7.938 kB / 0.9754 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004737/0.6703, allocations: 326.1 kB / 0.9757 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.6703, allocations: 9.719 kB / 0.9758 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.6703, allocations: 1 kB / 0.9758 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.6703, allocations: 5.984 kB / 0.9758 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.6705, allocations: 16.95 kB / 0.9758 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.6705, allocations: 1.188 kB / 0.9758 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.6707, allocations: 25.11 kB / 0.9758 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.6707, allocations: 4.25 kB / 0.9758 GB, free: 6.789 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.0001803/0.6709, allocations: 187.3 kB / 0.976 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.671, allocations: 37.72 kB / 0.976 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.6713, allocations: 173.1 kB / 0.9762 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6713, allocations: 1.938 kB / 0.9762 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6713, allocations: 0.9688 kB / 0.9762 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.6713, allocations: 9.234 kB / 0.9762 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.6716, allocations: 296.8 kB / 0.9765 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6716, allocations: 1.156 kB / 0.9765 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.504e-05/0.6717, allocations: 11.62 kB / 0.9765 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.6717, allocations: 6.094 kB / 0.9765 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.6717, allocations: 5.156 kB / 0.9765 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.6718, allocations: 6.234 kB / 0.9765 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/0.6718, allocations: 8.891 kB / 0.9765 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.672, allocations: 190.1 kB / 0.9767 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.6722, allocations: 138 kB / 0.9768 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.6722, allocations: 6.578 kB / 0.9768 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.6724, allocations: 9.391 kB / 0.9768 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.6724, allocations: 7.094 kB / 0.9769 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.6724, allocations: 2.938 kB / 0.9769 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004547/0.6729, allocations: 382.1 kB / 0.9772 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.6729, allocations: 0 / 0.9772 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007766/0.6737, allocations: 100 kB / 0.9773 GB, free: 5.656 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.005481/0.6792, allocations: 2.806 MB / 0.9801 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004142/0.6796, allocations: 196.3 kB / 0.9802 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6796, allocations: 0 / 0.9802 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.6797, allocations: 42.31 kB / 0.9803 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.6802, allocations: 63.22 kB / 0.9803 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.6812, allocations: 0.6793 MB / 0.981 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.6816, allocations: 0.8108 MB / 0.9818 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.6818, allocations: 51.56 kB / 0.9818 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.6818, allocations: 22.25 kB / 0.9819 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.6819, allocations: 1.344 kB / 0.9819 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.01436/0.6962, allocations: 7.628 MB / 0.9893 GB, free: 11.68 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