Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,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.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,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.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.209/2.209, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 180.7 kB / 491.2 MB, free: 1.57 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.725/1.725, allocations: 221.5 MB / 0.7868 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 91.89 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.953e-05/1.959e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4005, allocations: 143 MB / 1.212 GB, free: 39.59 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.61, allocations: 151.4 MB / 1.36 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/1.61, allocations: 72.98 kB / 1.36 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6822/2.292, allocations: 296.1 MB / 1.649 GB, free: 2.613 MB / 1.073 GB Notification: Performance of FrontEnd: time 8.41e-07/2.292, allocations: 0 / 1.649 GB, free: 2.613 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.731e-05/2.292, allocations: 4 kB / 1.649 GB, free: 2.609 MB / 1.073 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.002265/2.294, allocations: 496.5 kB / 1.65 GB, free: 2.098 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 7.516e-05/2.295, allocations: 8.031 kB / 1.65 GB, free: 2.09 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.696e-05/2.295, allocations: 31.62 kB / 1.65 GB, free: 2.059 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/2.295, allocations: 390 kB / 1.65 GB, free: 1.684 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/2.295, allocations: 0 / 1.65 GB, free: 1.684 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/2.295, allocations: 4 kB / 1.65 GB, free: 1.68 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001279/2.296, allocations: 67.23 kB / 1.65 GB, free: 1.629 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/2.296, allocations: 96.64 kB / 1.65 GB, free: 1.523 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/2.296, allocations: 7.953 kB / 1.65 GB, free: 1.516 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/2.296, allocations: 0 / 1.65 GB, free: 1.516 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/2.296, allocations: 0 / 1.65 GB, free: 1.516 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/2.296, allocations: 307.7 kB / 1.651 GB, free: 1.215 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/2.296, allocations: 104.2 kB / 1.651 GB, free: 1.086 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.539e-05/2.296, allocations: 60.89 kB / 1.651 GB, free: 1.023 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/2.296, allocations: 0 / 1.651 GB, free: 1.023 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/2.296, allocations: 41.5 kB / 1.651 GB, free: 0.9766 MB / 1.073 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/2.297, allocations: 0 / 1.651 GB, free: 0.9766 MB / 1.073 GB Notification: Performance of matching and sorting (n=4): time 0.0003168/2.297, allocations: 144.7 kB / 1.651 GB, free: 0.8438 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.575e-05/2.297, allocations: 128.5 kB / 1.651 GB, free: 0.6875 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/2.297, allocations: 419 kB / 1.652 GB, free: 368 kB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/2.297, allocations: 29.7 kB / 1.652 GB, free: 332 kB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/2.298, allocations: 164.4 kB / 1.652 GB, free: 220 kB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/2.298, allocations: 11.75 kB / 1.652 GB, free: 208 kB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/2.298, allocations: 4.125 kB / 1.652 GB, free: 204 kB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001928/2.298, allocations: 351.9 kB / 1.652 GB, free: 15.86 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.046e-05/2.298, allocations: 33.47 kB / 1.652 GB, free: 15.84 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/2.298, allocations: 93.19 kB / 1.652 GB, free: 15.73 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.693e-05/2.298, allocations: 38.22 kB / 1.652 GB, free: 15.7 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/2.298, allocations: 4 kB / 1.652 GB, free: 15.7 MB / 1.089 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001916/2.298, allocations: 142 kB / 1.652 GB, free: 15.57 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/2.298, allocations: 5.25 kB / 1.652 GB, free: 15.56 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/2.298, allocations: 0 / 1.652 GB, free: 15.56 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/2.298, allocations: 4 kB / 1.652 GB, free: 15.56 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/2.299, allocations: 15.98 kB / 1.652 GB, free: 15.54 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/2.299, allocations: 4.125 kB / 1.652 GB, free: 15.54 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/2.299, allocations: 7.984 kB / 1.652 GB, free: 15.53 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/2.299, allocations: 7.953 kB / 1.652 GB, free: 15.52 MB / 1.089 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.551e-05/2.299, allocations: 108.9 kB / 1.653 GB, free: 15.41 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/2.299, allocations: 31.62 kB / 1.653 GB, free: 15.38 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/2.299, allocations: 182.9 kB / 1.653 GB, free: 15.22 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/2.299, allocations: 4 kB / 1.653 GB, free: 15.21 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/2.299, allocations: 0 / 1.653 GB, free: 15.21 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/2.299, allocations: 0 / 1.653 GB, free: 15.21 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/2.299, allocations: 280.6 kB / 1.653 GB, free: 14.95 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/2.299, allocations: 0 / 1.653 GB, free: 14.95 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.522e-05/2.3, allocations: 19.19 kB / 1.653 GB, free: 14.93 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/2.3, allocations: 4 kB / 1.653 GB, free: 14.93 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/2.3, allocations: 0 / 1.653 GB, free: 14.93 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/2.3, allocations: 3.984 kB / 1.653 GB, free: 14.92 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/2.3, allocations: 12.06 kB / 1.653 GB, free: 14.91 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/2.3, allocations: 213.2 kB / 1.653 GB, free: 14.68 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/2.3, allocations: 134.9 kB / 1.653 GB, free: 14.54 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/2.3, allocations: 7.984 kB / 1.653 GB, free: 14.53 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/2.3, allocations: 4 kB / 1.653 GB, free: 14.52 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/2.3, allocations: 7.938 kB / 1.653 GB, free: 14.52 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/2.3, allocations: 4 kB / 1.653 GB, free: 14.51 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0003709/2.301, allocations: 345.4 kB / 1.654 GB, free: 14.25 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.6e-07/2.301, allocations: 0 / 1.654 GB, free: 14.25 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0002685/2.301, allocations: 42.88 kB / 1.654 GB, free: 14.21 MB / 1.089 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 () * 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.0002929/2.301, allocations: 126.9 kB / 1.654 GB, free: 14.08 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0001759/2.301, allocations: 74.69 kB / 1.654 GB, free: 14.02 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/2.301, allocations: 4.25 kB / 1.654 GB, free: 14.02 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 5.995e-05/2.302, allocations: 50.28 kB / 1.654 GB, free: 13.98 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/2.302, allocations: 56.94 kB / 1.654 GB, free: 13.95 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008345/2.303, allocations: 426.6 kB / 1.655 GB, free: 13.53 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/2.303, allocations: 0.8263 MB / 1.655 GB, free: 12.7 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0001693/2.303, allocations: 54.03 kB / 1.655 GB, free: 12.64 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/2.303, allocations: 27.42 kB / 1.655 GB, free: 12.62 MB / 1.089 GB Notification: Performance of SimCode: time 2.71e-07/2.303, allocations: 0 / 1.655 GB, free: 12.62 MB / 1.089 GB Notification: Performance of Templates: time 0.006782/2.31, allocations: 3.017 MB / 1.658 GB, free: 9.672 MB / 1.089 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches