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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001291/0.001291, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001527/0.001527, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 0.6653 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004756, allocations: 8 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6427/0.6432, allocations: 142.3 MB / 0.9535 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.001318/0.6445, allocations: 1.236 MB / 0.9547 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000942/0.6455, allocations: 0.8024 MB / 0.9555 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.6456, allocations: 5.469 kB / 0.9555 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.6458, allocations: 50.62 kB / 0.9555 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.6461, allocations: 122.8 kB / 0.9557 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.456e-05/0.6461, allocations: 6.344 kB / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.6464, allocations: 238.9 kB / 0.9559 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.625e-05/0.6465, allocations: 45.31 kB / 0.9559 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.6467, allocations: 123.3 kB / 0.9561 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.6468, allocations: 130.1 kB / 0.9562 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.6469, allocations: 10.72 kB / 0.9562 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003259/0.6501, allocations: 0.5049 MB / 0.9567 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.6502, allocations: 37.2 kB / 0.9567 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.6503, allocations: 77.3 kB / 0.9568 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004517/0.6507, allocations: 450.5 kB / 0.9572 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6508, allocations: 0 / 0.9572 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6508, allocations: 1.281 kB / 0.9572 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.6508, allocations: 0 / 0.9572 GB, free: 5.508 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.001089/0.6519, allocations: 0.6055 MB / 0.9578 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.6519, allocations: 9.969 kB / 0.9578 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.524e-05/0.652, allocations: 33.3 kB / 0.9579 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.6524, allocations: 355.7 kB / 0.9582 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.6524, allocations: 5.797 kB / 0.9582 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.6525, allocations: 8.125 kB / 0.9582 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.6526, allocations: 101.6 kB / 0.9583 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.6526, allocations: 1.375 kB / 0.9583 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.6526, allocations: 0 / 0.9583 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.6526, allocations: 1.375 kB / 0.9583 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.525e-05/0.6527, allocations: 80.75 kB / 0.9584 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.653, allocations: 347.4 kB / 0.9587 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.826e-05/0.6531, allocations: 98.84 kB / 0.9588 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.6531, allocations: 1.375 kB / 0.9588 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.6532, allocations: 49.23 kB / 0.9589 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.6532, allocations: 3.938 kB / 0.9589 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002902/0.6535, allocations: 184.6 kB / 0.959 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.6535, allocations: 129.9 kB / 0.9592 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/0.654, allocations: 0.5002 MB / 0.9597 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.654, allocations: 27.2 kB / 0.9597 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/0.6541, allocations: 164.4 kB / 0.9598 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.6542, allocations: 10.59 kB / 0.9598 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.6542, allocations: 0 / 0.9598 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.925e-05/0.6542, allocations: 352.2 kB / 0.9602 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.6544, allocations: 113.8 kB / 0.9603 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.6546, allocations: 181.4 kB / 0.9605 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.6548, allocations: 138.3 kB / 0.9606 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6548, allocations: 0 / 0.9606 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003924/0.6552, allocations: 324.6 kB / 0.9609 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6552, allocations: 8.953 kB / 0.9609 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.6552, allocations: 1 kB / 0.9609 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.6552, allocations: 2 kB / 0.9609 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.6554, allocations: 20.42 kB / 0.9609 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.6554, allocations: 1.594 kB / 0.9609 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.6556, allocations: 28.34 kB / 0.961 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.6556, allocations: 4 kB / 0.961 GB, free: 2.406 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.6557, allocations: 185 kB / 0.9611 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.6558, allocations: 29.19 kB / 0.9612 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.6561, allocations: 185 kB / 0.9613 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.6561, allocations: 2.312 kB / 0.9614 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.6561, allocations: 5.297 kB / 0.9614 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.6561, allocations: 0.9375 kB / 0.9614 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.6563, allocations: 296.9 kB / 0.9616 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6564, allocations: 1.094 kB / 0.9616 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-05/0.6565, allocations: 11.03 kB / 0.9617 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.6565, allocations: 2.188 kB / 0.9617 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.6565, allocations: 4.953 kB / 0.9617 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.6565, allocations: 5.906 kB / 0.9617 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6565, allocations: 5.125 kB / 0.9617 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.6567, allocations: 231.1 kB / 0.9619 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.6568, allocations: 138.5 kB / 0.962 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.6569, allocations: 6.547 kB / 0.962 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.657, allocations: 8.984 kB / 0.962 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.6571, allocations: 12.11 kB / 0.962 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.6571, allocations: 2.25 kB / 0.9621 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003769/0.6575, allocations: 374.9 kB / 0.9624 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6575, allocations: 0 / 0.9624 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004724/0.658, allocations: 113.3 kB / 0.9625 GB, free: 1.215 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003331/0.6583, allocations: 139.8 kB / 0.9626 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.6586, allocations: 191.3 kB / 0.9628 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6587, allocations: 0 / 0.9628 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.8e-05/0.6587, allocations: 46.44 kB / 0.9629 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.659, allocations: 52.44 kB / 0.9629 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.6599, allocations: 0.6611 MB / 0.9636 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.6602, allocations: 0.8191 MB / 0.9644 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.6603, allocations: 55.66 kB / 0.9644 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.6604, allocations: 22.59 kB / 0.9644 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.6604, allocations: 1.219 kB / 0.9644 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.01141/0.6718, allocations: 6.424 MB / 0.9707 GB, free: 12.39 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","../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches