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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002197/0.002197, allocations: 214.7 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.204/3.204, allocations: 0.49 GB / 0.7959 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.91 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3375, allocations: 176.1 MB / 1.327 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002935/0.3404, allocations: 1.618 MB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.342, allocations: 0.9657 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.652e-05/0.3421, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.3424, allocations: 67.64 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.3429, allocations: 143.3 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.156e-05/0.3429, allocations: 15.88 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004193/0.3433, allocations: 370.4 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.207e-05/0.3434, allocations: 17.22 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.3436, allocations: 155.3 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.3439, allocations: 131.4 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.3439, allocations: 16 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.984e-05/0.3439, allocations: 16 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.344, allocations: 47.72 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.3441, allocations: 139.2 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.3445, allocations: 282.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3445, allocations: 7.938 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3445, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.3445, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 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.001181/0.3457, allocations: 0.5704 MB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3457, allocations: 8.031 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.522e-05/0.3457, allocations: 4.188 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.3458, allocations: 38.73 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.3458, allocations: 32.75 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.3464, allocations: 336.7 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3464, allocations: 384 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.3464, allocations: 384 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.3466, allocations: 113 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3466, allocations: 0 / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.3466, allocations: 0 / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3466, allocations: 3.984 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.3467, allocations: 63.88 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.3471, allocations: 327.2 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.3473, allocations: 102.4 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/0.3474, allocations: 59.47 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.3474, allocations: 3.938 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.3474, allocations: 46.48 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.3474, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003645/0.3478, allocations: 193.2 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/0.3478, allocations: 133 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006391/0.3485, allocations: 0.5132 MB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3485, allocations: 25.7 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.3486, allocations: 168.1 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.3487, allocations: 11.91 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.3487, allocations: 21.7 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3489, allocations: 338.8 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.3489, allocations: 35.97 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.349, allocations: 59.39 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.3492, allocations: 107.3 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3492, allocations: 0 / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002242/0.3494, allocations: 157.3 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3494, allocations: 8 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3494, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3494, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3496, allocations: 11.98 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3496, allocations: 0 / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.3497, allocations: 11.98 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.3497, allocations: 7.984 kB / 1.334 GB, free: 10.22 MB / 1.029 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.0001626/0.3499, allocations: 178.4 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.3499, allocations: 39.7 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.3502, allocations: 187.8 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3502, allocations: 3.984 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3503, allocations: 0 / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3503, allocations: 4 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.3505, allocations: 280.5 kB / 1.335 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3505, allocations: 3.938 kB / 1.335 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.744e-05/0.3506, allocations: 16.06 kB / 1.335 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3506, allocations: 8 kB / 1.335 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.3506, allocations: 0 / 1.335 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3507, allocations: 4 kB / 1.335 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3507, allocations: 3.984 kB / 1.335 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.3509, allocations: 187.4 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.351, allocations: 71.61 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/0.3511, allocations: 4 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3512, allocations: 7.984 kB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.3512, allocations: 15.86 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.3513, allocations: 4 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004585/0.3517, allocations: 399 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3517, allocations: 0 / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002643/0.352, allocations: 36 kB / 1.335 GB, free: 8.707 MB / 1.029 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.0005564/0.3525, allocations: 0.7455 MB / 1.336 GB, free: 7.926 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.3527, allocations: 91.84 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3527, allocations: 0 / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.194e-05/0.3528, allocations: 43.91 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.3532, allocations: 66.06 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.357, allocations: 3.177 MB / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.3575, allocations: 0.8182 MB / 1.34 GB, free: 3.586 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001393/0.3576, allocations: 54.25 kB / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.3578, allocations: 83.41 kB / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of SimCode: time 7.51e-07/0.3578, allocations: 0 / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.3847, allocations: 6.825 MB / 1.347 GB, free: 12.82 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.76, allocations: 11.75 kB / 1.347 GB, free: 12.82 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.463023525022436]