Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 104.7 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 192.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.484/2.484, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002847/0.002847, allocations: 67.89 kB / 1.056 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7067/0.7095, allocations: 160.7 MB / 1.213 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002899/0.7124, allocations: 1.594 MB / 1.214 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.714, allocations: 0.9197 MB / 1.215 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.7141, allocations: 2.375 kB / 1.215 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.7143, allocations: 63.91 kB / 1.215 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004828/0.7148, allocations: 145.9 kB / 1.216 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.748e-05/0.7148, allocations: 5.891 kB / 1.216 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.7153, allocations: 368.3 kB / 1.216 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.909e-05/0.7153, allocations: 34.41 kB / 1.216 GB, free: 1.523 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.7156, allocations: 148.5 kB / 1.216 GB, free: 1.441 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.7157, allocations: 142.1 kB / 1.216 GB, free: 1.352 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.7158, allocations: 15.03 kB / 1.216 GB, free: 1.352 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.954e-05/0.7158, allocations: 15.19 kB / 1.216 GB, free: 1.352 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.391e-05/0.7159, allocations: 52.48 kB / 1.216 GB, free: 1.309 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.716, allocations: 129.6 kB / 1.216 GB, free: 1.223 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.7163, allocations: 291.3 kB / 1.217 GB, free: 1.043 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7163, allocations: 0 / 1.217 GB, free: 1.043 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7163, allocations: 0 / 1.217 GB, free: 1.043 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.7163, allocations: 1.469 kB / 1.217 GB, free: 1.043 MB / 0.92 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.001154/0.7175, allocations: 0.6423 MB / 1.217 GB, free: 480 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.7175, allocations: 10.2 kB / 1.217 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.7176, allocations: 36.06 kB / 1.217 GB, free: 436 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.7176, allocations: 30.19 kB / 1.217 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005449/0.7182, allocations: 396 kB / 1.218 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-06/0.7182, allocations: 1.5 kB / 1.218 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.7182, allocations: 1.438 kB / 1.218 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.7184, allocations: 106.3 kB / 1.218 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.7184, allocations: 3.938 kB / 1.218 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.7184, allocations: 1.062 kB / 1.218 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.7184, allocations: 1.281 kB / 1.218 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.7185, allocations: 68.52 kB / 1.218 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.719, allocations: 357.8 kB / 1.218 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.7191, allocations: 106.7 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.802e-05/0.7192, allocations: 55.78 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.7192, allocations: 13.08 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.7193, allocations: 44.8 kB / 1.218 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.7193, allocations: 0 / 1.218 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.000398/0.7197, allocations: 181.4 kB / 1.219 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.947e-05/0.7198, allocations: 134.2 kB / 1.219 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006945/0.7205, allocations: 0.5094 MB / 1.219 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.7205, allocations: 29.7 kB / 1.219 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.7206, allocations: 164 kB / 1.219 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.7206, allocations: 18.19 kB / 1.219 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.7207, allocations: 18.58 kB / 1.22 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.7209, allocations: 340.8 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.721, allocations: 33.22 kB / 1.22 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.173e-05/0.7211, allocations: 65.55 kB / 1.22 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.7212, allocations: 100.5 kB / 1.22 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7212, allocations: 0 / 1.22 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002381/0.7214, allocations: 163.4 kB / 1.22 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.7215, allocations: 5.688 kB / 1.22 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7215, allocations: 0.9688 kB / 1.22 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.7215, allocations: 1.062 kB / 1.22 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.7216, allocations: 11.98 kB / 1.22 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.7216, allocations: 1 kB / 1.22 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.7217, allocations: 14.58 kB / 1.22 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.7218, allocations: 5.828 kB / 1.22 GB, free: 13.98 MB / 0.9356 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.0001665/0.7219, allocations: 175.3 kB / 1.22 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.722, allocations: 35.19 kB / 1.22 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.7223, allocations: 187.6 kB / 1.221 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.7223, allocations: 1.219 kB / 1.221 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.7223, allocations: 2.25 kB / 1.221 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7223, allocations: 5.062 kB / 1.221 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.7226, allocations: 310.6 kB / 1.221 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7226, allocations: 5.188 kB / 1.221 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-05/0.7227, allocations: 19.62 kB / 1.221 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.7227, allocations: 1.094 kB / 1.221 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.7228, allocations: 2.188 kB / 1.221 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.7228, allocations: 5.188 kB / 1.221 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7228, allocations: 5.297 kB / 1.221 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.723, allocations: 189.9 kB / 1.221 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.7232, allocations: 144.1 kB / 1.221 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.7233, allocations: 7.172 kB / 1.221 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.7234, allocations: 8.703 kB / 1.221 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.7234, allocations: 4 kB / 1.221 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.7234, allocations: 7.375 kB / 1.221 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000468/0.7239, allocations: 394.1 kB / 1.222 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7239, allocations: 4 kB / 1.222 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002667/0.7242, allocations: 40.91 kB / 1.222 GB, free: 12.84 MB / 0.9356 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.0005669/0.7247, allocations: 0.7291 MB / 1.222 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.7249, allocations: 91.16 kB / 1.223 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7249, allocations: 0 / 1.223 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.84e-05/0.725, allocations: 45.22 kB / 1.223 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.7254, allocations: 71.34 kB / 1.223 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.7295, allocations: 3.188 MB / 1.226 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.73, allocations: 0.8183 MB / 1.227 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001553/0.7302, allocations: 52.11 kB / 1.227 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.7303, allocations: 80.75 kB / 1.227 GB, free: 9 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/0.7303, allocations: 0 / 1.227 GB, free: 9 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.7608, allocations: 6.682 MB / 1.233 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/8.971, allocations: 11.59 kB / 1.233 GB, free: 3.043 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.53087897785008]