Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 104.5 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 191.5 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.09/3.09, allocations: 495.8 MB / 0.783 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 68.61 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3288, allocations: 173.6 MB / 1.307 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002992/0.3318, allocations: 1.593 MB / 1.308 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3334, allocations: 0.9346 MB / 1.309 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.738e-05/0.3334, allocations: 4 kB / 1.309 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.3337, allocations: 59.64 kB / 1.309 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004646/0.3342, allocations: 147.3 kB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.984e-05/0.3342, allocations: 11.97 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.3347, allocations: 370.3 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.227e-05/0.3347, allocations: 16.92 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.335, allocations: 143.4 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.3352, allocations: 139.3 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.792e-05/0.3352, allocations: 16 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.658e-05/0.3353, allocations: 16 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.3353, allocations: 51.75 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.3355, allocations: 131.2 kB / 1.31 GB, free: 14.24 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.3358, allocations: 286.7 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3358, allocations: 0 / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3358, allocations: 4 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.3359, allocations: 0 / 1.311 GB, free: 13.96 MB / 1.014 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.001122/0.337, allocations: 0.5666 MB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.337, allocations: 8.031 kB / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.792e-05/0.3371, allocations: 40.7 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/0.3376, allocations: 336.7 kB / 1.311 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3376, allocations: 4.375 kB / 1.311 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.3376, allocations: 384 / 1.311 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3378, allocations: 97.33 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3378, allocations: 0 / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3378, allocations: 4 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3378, allocations: 4 kB / 1.312 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.3379, allocations: 71.86 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.3383, allocations: 323.2 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.3385, allocations: 114.5 kB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.415e-05/0.3386, allocations: 59.41 kB / 1.312 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.3386, allocations: 3.938 kB / 1.312 GB, free: 12.17 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.3386, allocations: 38.5 kB / 1.312 GB, free: 12.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3386, allocations: 0 / 1.312 GB, free: 12.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0003637/0.339, allocations: 189.2 kB / 1.312 GB, free: 11.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.3391, allocations: 132.5 kB / 1.312 GB, free: 11.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006608/0.3397, allocations: 0.5093 MB / 1.313 GB, free: 11.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3398, allocations: 25.7 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.3399, allocations: 168.6 kB / 1.313 GB, free: 11.05 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.3399, allocations: 11.91 kB / 1.313 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.372e-05/0.34, allocations: 25.7 kB / 1.313 GB, free: 11.01 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3402, allocations: 338.8 kB / 1.313 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.243e-05/0.3402, allocations: 31.97 kB / 1.314 GB, free: 10.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.577e-05/0.3403, allocations: 63.33 kB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.3405, allocations: 107.4 kB / 1.314 GB, free: 10.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3405, allocations: 0 / 1.314 GB, free: 10.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002407/0.3407, allocations: 153.2 kB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3407, allocations: 7.938 kB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3407, allocations: 0 / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3408, allocations: 4.125 kB / 1.314 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.3409, allocations: 15.98 kB / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3409, allocations: 0 / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.341, allocations: 11.98 kB / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.341, allocations: 96 / 1.314 GB, free: 10.25 MB / 1.014 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.0001857/0.3412, allocations: 177.7 kB / 1.314 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.3413, allocations: 39.73 kB / 1.314 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.3416, allocations: 191.6 kB / 1.314 GB, free: 9.84 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3416, allocations: 4 kB / 1.314 GB, free: 9.836 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3417, allocations: 0 / 1.314 GB, free: 9.836 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3417, allocations: 0 / 1.314 GB, free: 9.836 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.342, allocations: 284.5 kB / 1.315 GB, free: 9.516 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.342, allocations: 0 / 1.315 GB, free: 9.516 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.363e-05/0.3421, allocations: 23.86 kB / 1.315 GB, free: 9.492 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.3421, allocations: 7.875 kB / 1.315 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3421, allocations: 4 kB / 1.315 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3421, allocations: 0 / 1.315 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3421, allocations: 4.125 kB / 1.315 GB, free: 9.477 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.3424, allocations: 187.4 kB / 1.315 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.3425, allocations: 71.61 kB / 1.315 GB, free: 9.195 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.3426, allocations: 4 kB / 1.315 GB, free: 9.191 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.3427, allocations: 15.98 kB / 1.315 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.3427, allocations: 7.984 kB / 1.315 GB, free: 9.168 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.3427, allocations: 0 / 1.315 GB, free: 9.168 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004798/0.3432, allocations: 399 kB / 1.315 GB, free: 8.781 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3432, allocations: 0 / 1.315 GB, free: 8.781 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002515/0.3435, allocations: 36 kB / 1.315 GB, free: 8.746 MB / 1.014 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.0001086/0.3436, allocations: 104.7 kB / 1.315 GB, free: 8.637 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3438, allocations: 87.86 kB / 1.315 GB, free: 8.551 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3438, allocations: 0 / 1.315 GB, free: 8.551 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.151e-05/0.3439, allocations: 43.91 kB / 1.315 GB, free: 8.508 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3442, allocations: 76.69 kB / 1.316 GB, free: 8.438 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.3453, allocations: 0.594 MB / 1.316 GB, free: 7.809 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.3458, allocations: 0.8143 MB / 1.317 GB, free: 6.969 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.346, allocations: 62.23 kB / 1.317 GB, free: 6.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.509e-05/0.3461, allocations: 19.44 kB / 1.317 GB, free: 6.891 MB / 1.014 GB Notification: Performance of SimCode: time 4.4e-07/0.3461, allocations: 0 / 1.317 GB, free: 6.891 MB / 1.014 GB Notification: Performance of Templates: time 0.00857/0.3546, allocations: 3.655 MB / 1.321 GB, free: 3.289 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.699797585606575]