Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001701/0.001701, allocations: 120 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.002022/0.002022, allocations: 214.3 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.511/1.511, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.812/2.812, allocations: 476.7 MB / 0.7678 GB, free: 9.371 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.CorrectedNFactors,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_11_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.003387/0.003387, allocations: 63.91 kB / 1.113 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8733/0.8766, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003124/0.8798, allocations: 1.617 MB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.8815, allocations: 0.9639 MB / 1.281 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.8816, allocations: 1.719 kB / 1.281 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.8819, allocations: 63.69 kB / 1.281 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005463/0.8824, allocations: 142.8 kB / 1.282 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.387e-05/0.8825, allocations: 11.23 kB / 1.282 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004961/0.883, allocations: 361.4 kB / 1.282 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.742e-05/0.883, allocations: 31.31 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.8834, allocations: 155.7 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.8836, allocations: 141.7 kB / 1.282 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.8837, allocations: 14.88 kB / 1.282 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007923/0.8845, allocations: 0.5404 MB / 1.283 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.504e-05/0.8846, allocations: 53.16 kB / 1.283 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.8847, allocations: 134.3 kB / 1.283 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.8861, allocations: 0.8533 MB / 1.284 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.8861, allocations: 1.406 kB / 1.284 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8861, allocations: 0 / 1.284 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.8862, allocations: 0 / 1.284 GB, free: 9.094 MB / 0.9981 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.001728/0.8879, allocations: 0.6694 MB / 1.285 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.8879, allocations: 8.875 kB / 1.285 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.503e-05/0.8879, allocations: 5.953 kB / 1.285 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.888, allocations: 36.53 kB / 1.285 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.01e-05/0.8881, allocations: 39.39 kB / 1.285 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.8886, allocations: 375.5 kB / 1.285 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.8886, allocations: 2.5 kB / 1.285 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.8886, allocations: 9.812 kB / 1.285 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.8888, allocations: 95.02 kB / 1.285 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.8888, allocations: 5.281 kB / 1.285 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.8888, allocations: 3.938 kB / 1.285 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.8888, allocations: 1.062 kB / 1.285 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.8889, allocations: 68.62 kB / 1.285 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.8893, allocations: 344.8 kB / 1.285 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.8895, allocations: 105 kB / 1.286 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.56e-05/0.8896, allocations: 63.45 kB / 1.286 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.8896, allocations: 4.969 kB / 1.286 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.8896, allocations: 40.38 kB / 1.286 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.8896, allocations: 0 / 1.286 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003699/0.89, allocations: 182.4 kB / 1.286 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/0.8901, allocations: 135.7 kB / 1.286 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/0.8907, allocations: 0.4986 MB / 1.286 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.8907, allocations: 31.48 kB / 1.286 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.8908, allocations: 161 kB / 1.287 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.8909, allocations: 18.78 kB / 1.287 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.007e-05/0.891, allocations: 49.05 kB / 1.287 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.8911, allocations: 345.8 kB / 1.287 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.8913, allocations: 96.62 kB / 1.287 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.8914, allocations: 159.1 kB / 1.287 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.8917, allocations: 241 kB / 1.288 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.8917, allocations: 0 / 1.288 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004307/0.8922, allocations: 294.1 kB / 1.288 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.8922, allocations: 5.953 kB / 1.288 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.8922, allocations: 1.375 kB / 1.288 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.8922, allocations: 1.156 kB / 1.288 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.8924, allocations: 21.83 kB / 1.288 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.8924, allocations: 1.375 kB / 1.288 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.8926, allocations: 33.61 kB / 1.288 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.8926, allocations: 3.375 kB / 1.288 GB, free: 6.242 MB / 0.9981 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.0001953/0.8928, allocations: 179.8 kB / 1.288 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.8928, allocations: 43.19 kB / 1.288 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.8932, allocations: 177.4 kB / 1.288 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.8932, allocations: 11.22 kB / 1.288 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8932, allocations: 1.031 kB / 1.288 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.8932, allocations: 2.094 kB / 1.288 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.8935, allocations: 288.5 kB / 1.289 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.8935, allocations: 5.125 kB / 1.289 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.872e-05/0.8936, allocations: 22.52 kB / 1.289 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.8936, allocations: 2.328 kB / 1.289 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.8936, allocations: 1.312 kB / 1.289 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.8936, allocations: 1.906 kB / 1.289 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8936, allocations: 1.062 kB / 1.289 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.8939, allocations: 197 kB / 1.289 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.8941, allocations: 137 kB / 1.289 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.8941, allocations: 3 kB / 1.289 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.8943, allocations: 10.7 kB / 1.289 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.8943, allocations: 13.8 kB / 1.289 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.8943, allocations: 2.406 kB / 1.289 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004604/0.8948, allocations: 378.2 kB / 1.289 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8948, allocations: 0 / 1.289 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008625/0.8956, allocations: 106.8 kB / 1.289 GB, free: 5.305 MB / 0.9981 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.005488/0.9011, allocations: 3.443 MB / 1.293 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004174/0.9015, allocations: 167.5 kB / 1.293 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.9015, allocations: 1.438 kB / 1.293 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.577e-05/0.9016, allocations: 45.55 kB / 1.293 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.902, allocations: 55.8 kB / 1.293 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/0.9067, allocations: 3.489 MB / 1.296 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.9072, allocations: 0.8165 MB / 1.297 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001646/0.9073, allocations: 48.03 kB / 1.297 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.9075, allocations: 80.38 kB / 1.297 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of SimCode: time 6.82e-07/0.9075, allocations: 0 / 1.297 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/0.9421, allocations: 10.86 MB / 1.308 GB, free: 15.08 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.682/9.624, allocations: 15.58 kB / 1.308 GB, free: 15.07 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.813093357020989]