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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001223/0.001223, allocations: 98.77 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.001359/0.001359, allocations: 177.3 kB / 15.94 MB, free: 228 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.4/1.4, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.604/2.604, allocations: 436.5 MB / 0.7104 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003546, allocations: 8 kB / 0.8707 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7263/0.7267, allocations: 153.7 MB / 1.021 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.001813/0.7285, allocations: 1.233 MB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.7299, allocations: 0.8032 MB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.73, allocations: 0 / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.7303, allocations: 51.78 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004624/0.7307, allocations: 127.6 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.787e-05/0.7308, allocations: 7.984 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.7311, allocations: 239.4 kB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.144e-05/0.7312, allocations: 52.66 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.7315, allocations: 123.5 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.7317, allocations: 127.5 kB / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.7318, allocations: 12 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.7348, allocations: 0.5031 MB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.625e-05/0.7349, allocations: 39.81 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.735, allocations: 77.52 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005418/0.7355, allocations: 445.1 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.7355, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7355, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.7356, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 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.001342/0.7369, allocations: 0.6147 MB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.737, allocations: 11.98 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.7371, allocations: 31.62 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.7376, allocations: 357.3 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.7376, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.7377, allocations: 8 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.7378, allocations: 101 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.7379, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.7379, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.7379, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.738, allocations: 75.86 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.7384, allocations: 344 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.7385, allocations: 106.4 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.7386, allocations: 3.938 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.7386, allocations: 46.61 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.7386, allocations: 0 / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000365/0.739, allocations: 185 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.7391, allocations: 128.5 kB / 1.026 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005708/0.7396, allocations: 0.5014 MB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.7397, allocations: 25.7 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.7398, allocations: 160.8 kB / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.7398, allocations: 15.81 kB / 1.027 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.7398, allocations: 0 / 1.027 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.74, allocations: 346.8 kB / 1.027 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.7401, allocations: 111.9 kB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.7403, allocations: 188.2 kB / 1.028 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.7405, allocations: 127.9 kB / 1.028 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7405, allocations: 0 / 1.028 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004316/0.741, allocations: 329 kB / 1.028 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.741, allocations: 7.953 kB / 1.028 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.741, allocations: 4 kB / 1.028 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.741, allocations: 7.875 kB / 1.028 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.7412, allocations: 19.92 kB / 1.028 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.7412, allocations: 4 kB / 1.028 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.7414, allocations: 19.83 kB / 1.028 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.7414, allocations: 11.98 kB / 1.028 GB, free: 9.152 MB / 0.7794 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.0001661/0.7416, allocations: 181.7 kB / 1.028 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.7416, allocations: 27.62 kB / 1.028 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.7419, allocations: 187.6 kB / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.742, allocations: 8.125 kB / 1.029 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.742, allocations: 240 / 1.029 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.742, allocations: 0 / 1.029 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.7422, allocations: 289.5 kB / 1.029 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.7423, allocations: 3.984 kB / 1.029 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.905e-05/0.7424, allocations: 19.92 kB / 1.029 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.7424, allocations: 4 kB / 1.029 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.7424, allocations: 0 / 1.029 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.7424, allocations: 7.953 kB / 1.029 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7424, allocations: 0 / 1.029 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.7427, allocations: 228.3 kB / 1.029 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.7428, allocations: 136.6 kB / 1.029 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.7429, allocations: 11.94 kB / 1.029 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.743, allocations: 11.98 kB / 1.029 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.7431, allocations: 8 kB / 1.029 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.7431, allocations: 7.984 kB / 1.029 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004136/0.7435, allocations: 371.1 kB / 1.03 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.1e-07/0.7435, allocations: 0 / 1.03 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004141/0.7439, allocations: 104 kB / 1.03 GB, free: 7.449 MB / 0.7794 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.0003805/0.7443, allocations: 135.2 kB / 1.03 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003413/0.7447, allocations: 191.8 kB / 1.03 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7447, allocations: 0 / 1.03 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.7e-05/0.7447, allocations: 43.91 kB / 1.03 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.7451, allocations: 62.23 kB / 1.03 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.7461, allocations: 0.6681 MB / 1.031 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/0.7466, allocations: 0.8184 MB / 1.032 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.7468, allocations: 54.22 kB / 1.032 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.7469, allocations: 23.44 kB / 1.032 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.7469, allocations: 0 / 1.032 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of Templates: time 0.01239/0.7593, allocations: 6.415 MB / 1.038 GB, free: 15.04 MB / 0.795 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","../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches