Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.001606/0.001606, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002014/0.002014, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.205/3.205, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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.CorrectedNFactors,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",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.001973/0.001973, allocations: 66.34 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3163, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002864/0.3192, allocations: 1.562 MB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.3207, allocations: 0.8607 MB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.3208, allocations: 4 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.321, allocations: 63.61 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004597/0.3215, allocations: 143.3 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.083e-05/0.3215, allocations: 15.92 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.3219, allocations: 358.3 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.656e-05/0.322, allocations: 13.22 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.3222, allocations: 159.4 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.3224, allocations: 139.3 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.3225, allocations: 16 kB / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006244/0.3231, allocations: 488.8 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3232, allocations: 51.75 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.3233, allocations: 107.4 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.3248, allocations: 0.8419 MB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3248, allocations: 0 / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3248, allocations: 4 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3248, allocations: 0 / 1.35 GB, free: 11.1 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.001385/0.3262, allocations: 0.5821 MB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3262, allocations: 8.031 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.724e-05/0.3263, allocations: 8.172 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.919e-05/0.3263, allocations: 30.75 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.3264, allocations: 36.75 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.3268, allocations: 324.7 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3269, allocations: 12.31 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.3269, allocations: 4.375 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.327, allocations: 101 kB / 1.351 GB, free: 9.926 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.327, allocations: 0 / 1.351 GB, free: 9.926 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3271, allocations: 0 / 1.351 GB, free: 9.926 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3271, allocations: 4 kB / 1.351 GB, free: 9.922 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3272, allocations: 67.86 kB / 1.351 GB, free: 9.855 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.3275, allocations: 287.3 kB / 1.351 GB, free: 9.523 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.3277, allocations: 110.3 kB / 1.351 GB, free: 9.379 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.3277, allocations: 55.47 kB / 1.352 GB, free: 9.312 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.3278, allocations: 7.938 kB / 1.352 GB, free: 9.305 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.3278, allocations: 38.55 kB / 1.352 GB, free: 9.258 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3278, allocations: 4 kB / 1.352 GB, free: 9.254 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0003489/0.3282, allocations: 185.7 kB / 1.352 GB, free: 9.066 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.3282, allocations: 132.5 kB / 1.352 GB, free: 8.906 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000605/0.3288, allocations: 0.5053 MB / 1.352 GB, free: 8.395 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3288, allocations: 25.7 kB / 1.352 GB, free: 8.363 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.329, allocations: 160.4 kB / 1.353 GB, free: 8.199 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.329, allocations: 15.84 kB / 1.353 GB, free: 8.184 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.3291, allocations: 49.69 kB / 1.353 GB, free: 8.129 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3293, allocations: 342.8 kB / 1.353 GB, free: 7.785 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3294, allocations: 99.92 kB / 1.353 GB, free: 7.688 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.3296, allocations: 269.6 kB / 1.353 GB, free: 7.375 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.33, allocations: 243.2 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.33, allocations: 0 / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004298/0.3304, allocations: 313.1 kB / 1.354 GB, free: 6.812 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3304, allocations: 5.719 kB / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3304, allocations: 0 / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3304, allocations: 4 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.3306, allocations: 19.92 kB / 1.354 GB, free: 6.785 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3306, allocations: 0 / 1.354 GB, free: 6.785 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.3308, allocations: 19.88 kB / 1.354 GB, free: 6.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.3308, allocations: 11.98 kB / 1.354 GB, free: 6.754 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001716/0.331, allocations: 177.7 kB / 1.354 GB, free: 6.57 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.331, allocations: 39.73 kB / 1.354 GB, free: 6.531 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/0.3314, allocations: 191.9 kB / 1.354 GB, free: 6.328 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3314, allocations: 0 / 1.354 GB, free: 6.328 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3314, allocations: 4 kB / 1.354 GB, free: 6.324 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3314, allocations: 0 / 1.354 GB, free: 6.324 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.3316, allocations: 236.6 kB / 1.354 GB, free: 6.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.3316, allocations: 3.938 kB / 1.354 GB, free: 6.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.439e-05/0.3317, allocations: 15.98 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3317, allocations: 4 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3318, allocations: 4.125 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3318, allocations: 7.938 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3318, allocations: 4 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.332, allocations: 183.5 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.3321, allocations: 67.61 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.3322, allocations: 0 / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3323, allocations: 11.98 kB / 1.355 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.3324, allocations: 11.92 kB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3324, allocations: 4 kB / 1.355 GB, free: 5.711 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004534/0.3328, allocations: 379 kB / 1.355 GB, free: 5.348 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3328, allocations: 0 / 1.355 GB, free: 5.348 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005036/0.3333, allocations: 103.9 kB / 1.355 GB, free: 5.246 MB / 1.045 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.00517/0.3385, allocations: 3.438 MB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004427/0.3389, allocations: 175.8 kB / 1.359 GB, free: 1.594 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.3389, allocations: 3.938 kB / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.452e-05/0.339, allocations: 43.91 kB / 1.359 GB, free: 1.547 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.3395, allocations: 53.97 kB / 1.359 GB, free: 1.492 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.344, allocations: 3.505 MB / 1.362 GB, free: 13.87 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.3442, allocations: 207.4 kB / 1.362 GB, free: 13.65 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.3444, allocations: 46.28 kB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.3445, allocations: 79.41 kB / 1.363 GB, free: 13.52 MB / 1.061 GB Notification: Performance of SimCode: time 9.22e-07/0.3445, allocations: 11.94 kB / 1.363 GB, free: 13.51 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.3786, allocations: 11.31 MB / 1.374 GB, free: 2.426 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.21, allocations: 9.609 kB / 1.374 GB, free: 2.418 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.90266891999636]