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.00174/0.00174, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002125/0.002126, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.682/1.682, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.317/2.317, allocations: 390.2 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 59.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7677/0.7691, allocations: 140.3 MB / 0.9496 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.0038/0.773, allocations: 1.586 MB / 0.9511 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.7746, allocations: 0.9071 MB / 0.952 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.7748, allocations: 1.594 kB / 0.952 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.7751, allocations: 68.77 kB / 0.9521 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005595/0.7757, allocations: 159.8 kB / 0.9522 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.796e-05/0.7757, allocations: 5.562 kB / 0.9522 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005091/0.7762, allocations: 368.4 kB / 0.9526 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.7763, allocations: 50.2 kB / 0.9526 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.7766, allocations: 138.7 kB / 0.9528 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.7769, allocations: 137.6 kB / 0.9529 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.7769, allocations: 16.31 kB / 0.9529 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.401e-05/0.777, allocations: 14.44 kB / 0.9529 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.57e-05/0.7771, allocations: 56.5 kB / 0.953 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.7773, allocations: 125.8 kB / 0.9531 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.7776, allocations: 284.1 kB / 0.9534 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7776, allocations: 0 / 0.9534 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7776, allocations: 3.938 kB / 0.9534 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.7776, allocations: 1.25 kB / 0.9534 GB, free: 6.285 MB / 0.7169 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.00129/0.7789, allocations: 0.629 MB / 0.954 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.779, allocations: 8.812 kB / 0.954 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.7791, allocations: 34.84 kB / 0.954 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005701/0.7797, allocations: 385 kB / 0.9544 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.7797, allocations: 1.375 kB / 0.9544 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.7797, allocations: 5.719 kB / 0.9544 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.7799, allocations: 103 kB / 0.9545 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.7799, allocations: 0 / 0.9545 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.78, allocations: 1.031 kB / 0.9545 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.78, allocations: 1 kB / 0.9545 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.7801, allocations: 72.36 kB / 0.9546 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.7806, allocations: 353.2 kB / 0.9549 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.7808, allocations: 104 kB / 0.955 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.7809, allocations: 60.45 kB / 0.9551 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.7809, allocations: 9.094 kB / 0.9551 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.781, allocations: 40.5 kB / 0.9551 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.781, allocations: 0 / 0.9551 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004784/0.7815, allocations: 185.3 kB / 0.9553 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.7815, allocations: 138.3 kB / 0.9554 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007621/0.7823, allocations: 0.5163 MB / 0.9559 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.7823, allocations: 27.23 kB / 0.9559 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.7825, allocations: 163 kB / 0.9561 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.7825, allocations: 17.45 kB / 0.9561 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.7826, allocations: 19.81 kB / 0.9561 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.7827, allocations: 344.5 kB / 0.9565 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.332e-05/0.7828, allocations: 32.94 kB / 0.9565 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.252e-05/0.7829, allocations: 62.2 kB / 0.9566 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.7831, allocations: 100.5 kB / 0.9566 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7831, allocations: 0 / 0.9566 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002968/0.7834, allocations: 151.3 kB / 0.9568 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.7834, allocations: 9.062 kB / 0.9568 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.7835, allocations: 5.234 kB / 0.9568 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.7835, allocations: 1.438 kB / 0.9568 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.7837, allocations: 12.14 kB / 0.9568 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.7837, allocations: 3.938 kB / 0.9568 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.7839, allocations: 14.86 kB / 0.9568 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.7839, allocations: 1.375 kB / 0.9568 GB, free: 3.285 MB / 0.7169 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.0001863/0.7841, allocations: 180.3 kB / 0.957 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.741e-05/0.7842, allocations: 34.69 kB / 0.957 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.7846, allocations: 183.7 kB / 0.9572 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.7846, allocations: 5.406 kB / 0.9572 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.7846, allocations: 1.406 kB / 0.9572 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.7847, allocations: 9.609 kB / 0.9572 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.785, allocations: 309.8 kB / 0.9575 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.785, allocations: 0.8438 kB / 0.9575 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.7851, allocations: 20.64 kB / 0.9576 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.7852, allocations: 5.375 kB / 0.9576 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.7852, allocations: 1.344 kB / 0.9576 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.7852, allocations: 1.344 kB / 0.9576 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7852, allocations: 1.344 kB / 0.9576 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.7855, allocations: 194.6 kB / 0.9577 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.7857, allocations: 135.9 kB / 0.9579 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.7858, allocations: 6.219 kB / 0.9579 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.786, allocations: 13.77 kB / 0.9579 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.7861, allocations: 7.516 kB / 0.9579 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.7861, allocations: 2.156 kB / 0.9579 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006464/0.7867, allocations: 402.6 kB / 0.9583 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7867, allocations: 0 / 0.9583 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004574/0.7872, allocations: 36.75 kB / 0.9583 GB, free: 2.141 MB / 0.7169 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.0001248/0.7873, allocations: 102.3 kB / 0.9584 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.7876, allocations: 88.67 kB / 0.9585 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7876, allocations: 0 / 0.9585 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.742e-05/0.7877, allocations: 47 kB / 0.9585 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006062/0.7884, allocations: 76.23 kB / 0.9586 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.7897, allocations: 0.5937 MB / 0.9592 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.79, allocations: 0.8182 MB / 0.96 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002263/0.7902, allocations: 52.41 kB / 0.9601 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.7904, allocations: 21.12 kB / 0.9601 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7904, allocations: 0 / 0.9601 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of Templates: time 0.01216/0.8025, allocations: 3.575 MB / 0.9636 GB, free: 15.02 MB / 0.7325 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