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/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.001265/0.001265, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001548/0.001548, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.204/3.204, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_latest_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.001999/0.001999, allocations: 75.5 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3354, allocations: 180.2 MB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003082/0.3385, allocations: 1.625 MB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.3401, allocations: 0.9546 MB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.3402, allocations: 7.938 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.3405, allocations: 55.7 kB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005554/0.341, allocations: 147.2 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.779e-05/0.3411, allocations: 15.98 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.3416, allocations: 374.3 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.339e-05/0.3416, allocations: 13.22 kB / 1.356 GB, free: 5.301 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.3419, allocations: 147.3 kB / 1.356 GB, free: 5.156 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.3422, allocations: 139.3 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.323e-05/0.3422, allocations: 16 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.288e-05/0.3423, allocations: 16 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.3423, allocations: 47.77 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.3425, allocations: 139.1 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.3428, allocations: 294.7 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3428, allocations: 0 / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3428, allocations: 0 / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.3428, allocations: 0 / 1.357 GB, free: 4.516 MB / 1.045 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.001196/0.344, allocations: 0.5666 MB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3441, allocations: 11.97 kB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.3441, allocations: 30.75 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.3442, allocations: 32.75 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.3448, allocations: 332.7 kB / 1.358 GB, free: 3.488 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3448, allocations: 4.375 kB / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.3448, allocations: 384 / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.345, allocations: 113.1 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.345, allocations: 0 / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.345, allocations: 4 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.345, allocations: 0 / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.3451, allocations: 67.86 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.3456, allocations: 327.2 kB / 1.358 GB, free: 2.914 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.3457, allocations: 106.4 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.898e-05/0.3458, allocations: 63.39 kB / 1.358 GB, free: 2.699 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.3458, allocations: 4 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.3459, allocations: 38.5 kB / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3459, allocations: 4 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0003804/0.3462, allocations: 185.2 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/0.3463, allocations: 133 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006725/0.347, allocations: 0.5171 MB / 1.359 GB, free: 1.77 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.347, allocations: 25.7 kB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.3471, allocations: 164.1 kB / 1.359 GB, free: 1.574 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.3472, allocations: 11.91 kB / 1.359 GB, free: 1.562 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.3472, allocations: 21.7 kB / 1.359 GB, free: 1.535 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3474, allocations: 342.8 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.266e-05/0.3475, allocations: 39.91 kB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.828e-05/0.3475, allocations: 67.33 kB / 1.36 GB, free: 1.074 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.3477, allocations: 99.36 kB / 1.36 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3477, allocations: 0 / 1.36 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002317/0.3479, allocations: 157.3 kB / 1.36 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3479, allocations: 6.188 kB / 1.36 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3479, allocations: 4 kB / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.348, allocations: 0 / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.3481, allocations: 11.98 kB / 1.36 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3481, allocations: 0 / 1.36 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.3482, allocations: 19.94 kB / 1.36 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3483, allocations: 0 / 1.36 GB, free: 0.7656 MB / 1.045 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.0001789/0.3484, allocations: 190.2 kB / 1.36 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.3485, allocations: 35.84 kB / 1.36 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003547/0.3488, allocations: 179.7 kB / 1.36 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3488, allocations: 4 kB / 1.36 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3488, allocations: 0 / 1.36 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3489, allocations: 7.922 kB / 1.36 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.3492, allocations: 276.5 kB / 1.361 GB, free: 28 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3492, allocations: 0 / 1.361 GB, free: 28 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.277e-05/0.3492, allocations: 27.98 kB / 1.361 GB, free: 0 / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3493, allocations: 0 / 1.361 GB, free: 0 / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.3493, allocations: 4.047 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3493, allocations: 0 / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3493, allocations: 4 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.3495, allocations: 191.3 kB / 1.361 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.3497, allocations: 75.61 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.3498, allocations: 4 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.3499, allocations: 7.984 kB / 1.361 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.3499, allocations: 11.98 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.3499, allocations: 0 / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004794/0.3504, allocations: 391 kB / 1.361 GB, free: 15.3 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3504, allocations: 0 / 1.361 GB, free: 15.3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000378/0.3508, allocations: 44 kB / 1.361 GB, free: 15.25 MB / 1.061 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.0005689/0.3514, allocations: 0.7258 MB / 1.362 GB, free: 14.49 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.3516, allocations: 87.86 kB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3516, allocations: 3.938 kB / 1.362 GB, free: 14.4 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.302e-05/0.3516, allocations: 51.89 kB / 1.362 GB, free: 14.35 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.352, allocations: 74.08 kB / 1.362 GB, free: 14.28 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.3562, allocations: 3.178 MB / 1.365 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.3567, allocations: 0.8143 MB / 1.366 GB, free: 10.14 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.3568, allocations: 50.27 kB / 1.366 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.3569, allocations: 83.41 kB / 1.366 GB, free: 10.01 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.357, allocations: 0 / 1.366 GB, free: 10.01 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/0.393, allocations: 6.797 MB / 1.373 GB, free: 3.398 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.71, allocations: 14.78 kB / 1.373 GB, free: 3.387 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.23208514112048]