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.001789/0.001789, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002039/0.002039, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.479/1.479, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.879/2.879, allocations: 0.49 GB / 0.7923 GB, free: 1.344 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.002012/0.002012, allocations: 59.91 kB / 1.149 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8993/0.9014, allocations: 176.1 MB / 1.321 GB, free: 24.86 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002239/0.9036, allocations: 1.601 MB / 1.323 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.9047, allocations: 0.9502 MB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.9048, allocations: 6.5 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.905, allocations: 68.73 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.9054, allocations: 140 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.086e-05/0.9054, allocations: 6.094 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.9057, allocations: 381.5 kB / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.058e-05/0.9057, allocations: 33.22 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.906, allocations: 154 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.9061, allocations: 143 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.9061, allocations: 14.75 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.564e-05/0.9062, allocations: 14.72 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.9062, allocations: 50.72 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.747e-05/0.9063, allocations: 126.2 kB / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.9065, allocations: 298.2 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.9066, allocations: 0 / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9066, allocations: 4 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.9066, allocations: 0 / 1.325 GB, free: 22.41 MB / 1.061 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.0009119/0.9075, allocations: 0.6338 MB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.9075, allocations: 12.83 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.256e-05/0.9075, allocations: 8.188 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.147e-05/0.9075, allocations: 34.12 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.9076, allocations: 31.69 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.908, allocations: 397.4 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.908, allocations: 3.062 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.908, allocations: 384 / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.9081, allocations: 109.8 kB / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.9082, allocations: 0 / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.9082, allocations: 0.625 kB / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.9082, allocations: 0.6875 kB / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.9083, allocations: 70.42 kB / 1.327 GB, free: 21.42 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.9086, allocations: 351.3 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.92e-05/0.9087, allocations: 109.7 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.108e-05/0.9088, allocations: 57.89 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.9088, allocations: 8.609 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.9088, allocations: 40.59 kB / 1.327 GB, free: 20.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.9088, allocations: 0 / 1.327 GB, free: 20.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003309/0.9091, allocations: 187.8 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.9092, allocations: 129.8 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005914/0.9098, allocations: 0.5224 MB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.9098, allocations: 30.45 kB / 1.328 GB, free: 20.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.9099, allocations: 162.2 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.9099, allocations: 18.5 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.9099, allocations: 22.22 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.91, allocations: 342 kB / 1.328 GB, free: 19.94 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.777e-05/0.91, allocations: 35.58 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.997e-05/0.9101, allocations: 59.86 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.9102, allocations: 100.7 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.9102, allocations: 1.156 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00021/0.9104, allocations: 151.1 kB / 1.329 GB, free: 19.76 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.9105, allocations: 13.92 kB / 1.329 GB, free: 19.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.9105, allocations: 1 kB / 1.329 GB, free: 19.76 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.9105, allocations: 1.188 kB / 1.329 GB, free: 19.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.9106, allocations: 10.92 kB / 1.329 GB, free: 19.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.9106, allocations: 5.062 kB / 1.329 GB, free: 19.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.9109, allocations: 9.016 kB / 1.329 GB, free: 19.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.9109, allocations: 2.531 kB / 1.329 GB, free: 19.75 MB / 1.061 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.0001772/0.9111, allocations: 177.4 kB / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.9111, allocations: 38.7 kB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004071/0.9115, allocations: 189.5 kB / 1.329 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.9115, allocations: 2.188 kB / 1.329 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.9115, allocations: 1.375 kB / 1.329 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.9116, allocations: 0.7812 kB / 1.329 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.9119, allocations: 304.7 kB / 1.33 GB, free: 19.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.9119, allocations: 7.984 kB / 1.33 GB, free: 19.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.912, allocations: 12.22 kB / 1.33 GB, free: 19.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.912, allocations: 5.5 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.912, allocations: 9.438 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.912, allocations: 5.359 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.912, allocations: 0.7812 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.9123, allocations: 195.3 kB / 1.33 GB, free: 19.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.9124, allocations: 146.5 kB / 1.33 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.9124, allocations: 2.312 kB / 1.33 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.9126, allocations: 13.95 kB / 1.33 GB, free: 18.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.9126, allocations: 5.938 kB / 1.33 GB, free: 18.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.9126, allocations: 2.969 kB / 1.33 GB, free: 18.99 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004159/0.913, allocations: 396 kB / 1.33 GB, free: 18.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.913, allocations: 0 / 1.33 GB, free: 18.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002708/0.9133, allocations: 40.34 kB / 1.33 GB, free: 18.82 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.0003622/0.9137, allocations: 0.7295 MB / 1.331 GB, free: 18.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.9139, allocations: 92.11 kB / 1.331 GB, free: 18.13 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9139, allocations: 4 kB / 1.331 GB, free: 18.12 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.02e-05/0.9139, allocations: 45.62 kB / 1.331 GB, free: 18.11 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.9143, allocations: 67.19 kB / 1.331 GB, free: 18.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.918, allocations: 3.179 MB / 1.334 GB, free: 16.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.9183, allocations: 0.8117 MB / 1.335 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002241/0.9185, allocations: 52.28 kB / 1.335 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.9187, allocations: 81.75 kB / 1.335 GB, free: 15.48 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.9187, allocations: 0.5312 kB / 1.335 GB, free: 15.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.9456, allocations: 6.729 MB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.644/9.59, allocations: 6.703 kB / 1.342 GB, free: 14.81 MB / 1.061 GB " [Timeout remaining time 290] (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: 15.764223962032702]