Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008048/0.0008048, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007959/0.0007959, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8575/0.8575, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.653/1.653, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.085e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001977/0.001998, allocations: 1.57 MB / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003011, allocations: 0.8728 MB / 0.9528 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.557e-05/0.003086, allocations: 0 / 0.9528 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.003325, allocations: 55.67 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0004286/0.003754, allocations: 147.1 kB / 0.953 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.17e-05/0.003785, allocations: 11.98 kB / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0004071/0.004193, allocations: 386.1 kB / 0.9534 GB, free: 460 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.245e-05/0.004245, allocations: 12.94 kB / 0.9534 GB, free: 444 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.00451, allocations: 207.4 kB / 0.9536 GB, free: 236 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.004651, allocations: 123.7 kB / 0.9537 GB, free: 112 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.004674, allocations: 16 kB / 0.9538 GB, free: 96 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 2.355e-05/0.004698, allocations: 16 kB / 0.9538 GB, free: 80 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.004754, allocations: 47.78 kB / 0.9538 GB, free: 32 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 7.906e-05/0.004833, allocations: 83.72 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.005047, allocations: 275 kB / 0.9542 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.00505, allocations: 7.938 kB / 0.9542 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.21e-07/0.005051, allocations: 0 / 0.9542 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.005055, allocations: 4 kB / 0.9542 GB, free: 15.67 MB / 0.9167 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.0006705/0.005725, allocations: 0.5587 MB / 0.9547 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.005763, allocations: 12.03 kB / 0.9547 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.005797, allocations: 30.75 kB / 0.9548 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.00584, allocations: 32.7 kB / 0.9548 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.006195, allocations: 336 kB / 0.9551 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.006203, allocations: 384 / 0.9551 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.006214, allocations: 8.375 kB / 0.9551 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.006326, allocations: 93.62 kB / 0.9552 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.006332, allocations: 192 / 0.9552 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.006343, allocations: 8.125 kB / 0.9552 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.006347, allocations: 0 / 0.9552 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.867e-05/0.006415, allocations: 67.88 kB / 0.9553 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.006674, allocations: 299.2 kB / 0.9556 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.644e-05/0.006761, allocations: 114.3 kB / 0.9557 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.006814, allocations: 55.47 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.006829, allocations: 4 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.006849, allocations: 38.55 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.00685, allocations: 0 / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0002452/0.007095, allocations: 189.2 kB / 0.956 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.007141, allocations: 132.5 kB / 0.9561 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005273/0.007669, allocations: 0.5137 MB / 0.9566 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.007679, allocations: 29.7 kB / 0.9566 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.007759, allocations: 164.1 kB / 0.9568 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.007784, allocations: 15.89 kB / 0.9568 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.007816, allocations: 21.7 kB / 0.9568 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.58e-05/0.007902, allocations: 342.8 kB / 0.9571 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.876e-05/0.00794, allocations: 35.95 kB / 0.9572 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-05/0.007988, allocations: 59.34 kB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.709e-05/0.008085, allocations: 111.3 kB / 0.9573 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.008086, allocations: 0 / 0.9573 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000129/0.008215, allocations: 149.3 kB / 0.9575 GB, free: 12 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.008229, allocations: 6.5 kB / 0.9575 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.008234, allocations: 0 / 0.9575 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.008246, allocations: 7.938 kB / 0.9575 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.809e-05/0.008314, allocations: 15.92 kB / 0.9575 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.008319, allocations: 0 / 0.9575 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.00839, allocations: 7.984 kB / 0.9575 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.008399, allocations: 16.2 kB / 0.9575 GB, free: 11.95 MB / 0.9167 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.0001045/0.008503, allocations: 173.7 kB / 0.9577 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.00853, allocations: 39.73 kB / 0.9577 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.008737, allocations: 183.7 kB / 0.9579 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.008741, allocations: 7.938 kB / 0.9579 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.008745, allocations: 3.938 kB / 0.9579 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008748, allocations: 0 / 0.9579 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.008924, allocations: 248.6 kB / 0.9581 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008925, allocations: 4.125 kB / 0.9582 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.008965, allocations: 15.98 kB / 0.9582 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.008967, allocations: 0 / 0.9582 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.008973, allocations: 4 kB / 0.9582 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.008975, allocations: 3.938 kB / 0.9582 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.008977, allocations: 4 kB / 0.9582 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.009128, allocations: 195.3 kB / 0.9584 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/0.009208, allocations: 63.72 kB / 0.9584 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.009231, allocations: 0 / 0.9584 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/0.009297, allocations: 19.92 kB / 0.9584 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.009312, allocations: 7.984 kB / 0.9585 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.009316, allocations: 4 kB / 0.9585 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002771/0.009593, allocations: 391 kB / 0.9588 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009593, allocations: 0 / 0.9588 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000164/0.009758, allocations: 40 kB / 0.9589 GB, free: 10.49 MB / 0.9167 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.0003427/0.0101, allocations: 0.7318 MB / 0.9596 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.01024, allocations: 79.88 kB / 0.9597 GB, free: 9.641 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01024, allocations: 256 / 0.9597 GB, free: 9.641 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.119e-05/0.01028, allocations: 55.83 kB / 0.9597 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.01054, allocations: 65.7 kB / 0.9598 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.01297, allocations: 3.185 MB / 0.9629 GB, free: 6.219 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.01309, allocations: 211.4 kB / 0.9631 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.051e-05/0.01318, allocations: 54.25 kB / 0.9631 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.01328, allocations: 84.47 kB / 0.9632 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of SimCode: time 4.4e-07/0.01328, allocations: 0 / 0.9632 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.03281, allocations: 7.686 MB / 0.9707 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/6.791, allocations: 3.188 kB / 0.9707 GB, free: 14.41 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.639505203813314]