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.001926/0.001926, allocations: 110 kB / 16.46 MB, free: 6.453 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.002383/0.002383, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.396/1.396, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.039/3.039, allocations: 0.49 GB / 0.7916 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",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.002048/0.002048, allocations: 67.38 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3042, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002716/0.3069, allocations: 1.608 MB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.3084, allocations: 0.9579 MB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.651e-05/0.3085, allocations: 0 / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.3087, allocations: 71.58 kB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004254/0.3091, allocations: 143.3 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.49e-05/0.3092, allocations: 11.92 kB / 1.324 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.3096, allocations: 370.3 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.85e-05/0.3097, allocations: 33.03 kB / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.3099, allocations: 155.4 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.3101, allocations: 139.3 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.3102, allocations: 16 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.257e-05/0.3102, allocations: 19.94 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.3103, allocations: 43.83 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.3104, allocations: 131.2 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.3107, allocations: 298.7 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3107, allocations: 0 / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3107, allocations: 0 / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3107, allocations: 0 / 1.325 GB, free: 15.36 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.001062/0.3118, allocations: 0.634 MB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3118, allocations: 11.98 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.3119, allocations: 38.75 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.3119, allocations: 28.75 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.3124, allocations: 394.6 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.3124, allocations: 4.375 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.3124, allocations: 384 / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3126, allocations: 105.1 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.3126, allocations: 0 / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3126, allocations: 4 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3126, allocations: 4 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.3127, allocations: 67.86 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.3131, allocations: 356.1 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.3132, allocations: 106.5 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/0.3133, allocations: 63.39 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3133, allocations: 0 / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.3134, allocations: 38.44 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3134, allocations: 0 / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000332/0.3137, allocations: 197.2 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.3138, allocations: 136.5 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006104/0.3144, allocations: 0.5132 MB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.3144, allocations: 25.7 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.3145, allocations: 164.1 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.3146, allocations: 8.406 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.3146, allocations: 29.7 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3148, allocations: 342.8 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/0.3149, allocations: 31.97 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.3149, allocations: 59.39 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.3151, allocations: 107.3 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3151, allocations: 0 / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002236/0.3153, allocations: 153.2 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3153, allocations: 4 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3153, allocations: 4 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3153, allocations: 0 / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.3154, allocations: 11.98 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3155, allocations: 4.125 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.3156, allocations: 11.98 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.3156, allocations: 0 / 1.328 GB, free: 11.42 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.0001628/0.3158, allocations: 177.8 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.3158, allocations: 39.7 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.3161, allocations: 187.8 kB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3161, allocations: 8.031 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3162, allocations: 0 / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3162, allocations: 3.984 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.3165, allocations: 305.5 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3165, allocations: 0 / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.426e-05/0.3166, allocations: 23.86 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3166, allocations: 0 / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3166, allocations: 8 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3166, allocations: 0 / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3166, allocations: 0 / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.3168, allocations: 199.4 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.317, allocations: 140.8 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.317, allocations: 11.94 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3172, allocations: 15.86 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.3172, allocations: 11.98 kB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.3172, allocations: 4 kB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004551/0.3177, allocations: 391 kB / 1.33 GB, free: 9.816 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3177, allocations: 0 / 1.33 GB, free: 9.816 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002531/0.3179, allocations: 40 kB / 1.33 GB, free: 9.777 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.0005833/0.3185, allocations: 0.7395 MB / 1.33 GB, free: 9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001922/0.3187, allocations: 79.88 kB / 1.33 GB, free: 8.922 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3187, allocations: 0 / 1.33 GB, free: 8.922 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.968e-05/0.3188, allocations: 47.89 kB / 1.331 GB, free: 8.875 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.3191, allocations: 62.33 kB / 1.331 GB, free: 8.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/0.323, allocations: 3.182 MB / 1.334 GB, free: 5.512 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.3234, allocations: 0.8143 MB / 1.334 GB, free: 4.672 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.3235, allocations: 50.25 kB / 1.335 GB, free: 4.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.3237, allocations: 87.39 kB / 1.335 GB, free: 4.539 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3237, allocations: 0 / 1.335 GB, free: 4.539 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.3529, allocations: 6.687 MB / 1.341 GB, free: 14.05 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/8.629, allocations: 5.25 kB / 1.341 GB, free: 14.05 MB / 1.045 GB " [Timeout remaining time 291] (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: 14.822164535988122]