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.000805/0.000805, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0008255/0.0008255, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8452/0.8452, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.707/1.707, allocations: 389 MB / 0.633 GB, free: 12.65 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.9996 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.571e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002097/0.002122, allocations: 1.558 MB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.003209, allocations: 0.8722 MB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.003281, allocations: 7.938 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.003504, allocations: 51.67 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.00392, allocations: 151.1 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.131e-05/0.003952, allocations: 8 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.004242, allocations: 382 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.296e-05/0.004295, allocations: 12.94 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.004544, allocations: 207.4 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.004682, allocations: 123.7 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.004707, allocations: 16 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.005092, allocations: 484.8 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.005152, allocations: 55.7 kB / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.204e-05/0.005224, allocations: 83.78 kB / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008011/0.006025, allocations: 0.9085 MB / 1.004 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.00603, allocations: 3.984 kB / 1.004 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.163e-06/0.006031, allocations: 0 / 1.004 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.006036, allocations: 0 / 1.004 GB, free: 8.559 MB / 0.9636 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.0009181/0.006954, allocations: 0.5782 MB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.006993, allocations: 12.75 kB / 1.005 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.242e-05/0.007026, allocations: 38.73 kB / 1.005 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.007076, allocations: 32.7 kB / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.007429, allocations: 320 kB / 1.005 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.007439, allocations: 384 / 1.005 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.007451, allocations: 4.375 kB / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.007573, allocations: 105.6 kB / 1.005 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.007579, allocations: 192 / 1.005 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.007589, allocations: 4.125 kB / 1.005 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.007594, allocations: 4 kB / 1.005 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.01e-05/0.007664, allocations: 67.88 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.007908, allocations: 287.2 kB / 1.006 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.747e-05/0.007996, allocations: 106.4 kB / 1.006 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.008053, allocations: 63.45 kB / 1.006 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.008067, allocations: 0 / 1.006 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.008089, allocations: 42.5 kB / 1.006 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.00809, allocations: 0 / 1.006 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002665/0.008357, allocations: 193.4 kB / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.008404, allocations: 132.5 kB / 1.006 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.008789, allocations: 0.5014 MB / 1.007 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.008805, allocations: 29.7 kB / 1.007 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/0.008892, allocations: 156.4 kB / 1.007 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.008913, allocations: 11.84 kB / 1.007 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.008966, allocations: 57.58 kB / 1.007 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.009054, allocations: 338.8 kB / 1.007 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-05/0.009147, allocations: 99.92 kB / 1.007 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.009303, allocations: 272.1 kB / 1.008 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.00951, allocations: 243.2 kB / 1.008 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.009512, allocations: 0 / 1.008 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002652/0.009777, allocations: 309.2 kB / 1.008 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.009791, allocations: 4 kB / 1.008 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.009801, allocations: 4 kB / 1.008 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.009815, allocations: 3.938 kB / 1.008 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.508e-05/0.00991, allocations: 15.98 kB / 1.008 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.009917, allocations: 4 kB / 1.008 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.332e-05/0.01001, allocations: 19.88 kB / 1.008 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.01002, allocations: 11.98 kB / 1.008 GB, free: 4.219 MB / 0.9636 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.0001199/0.01014, allocations: 177.7 kB / 1.008 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.01017, allocations: 36 kB / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.01041, allocations: 187.6 kB / 1.009 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.01042, allocations: 7.938 kB / 1.009 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.01042, allocations: 0 / 1.009 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01043, allocations: 4 kB / 1.009 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.01061, allocations: 228.6 kB / 1.009 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.01061, allocations: 4 kB / 1.009 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-05/0.01066, allocations: 24.05 kB / 1.009 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01066, allocations: 0 / 1.009 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.01067, allocations: 4 kB / 1.009 GB, free: 3.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01068, allocations: 7.938 kB / 1.009 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01068, allocations: 0 / 1.009 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.01084, allocations: 183.4 kB / 1.009 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.01092, allocations: 63.67 kB / 1.009 GB, free: 3.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.01095, allocations: 4 kB / 1.009 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.01102, allocations: 15.92 kB / 1.009 GB, free: 3.203 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.01104, allocations: 7.984 kB / 1.009 GB, free: 3.195 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.01104, allocations: 8 kB / 1.009 GB, free: 3.188 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002826/0.01132, allocations: 379 kB / 1.01 GB, free: 2.824 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01133, allocations: 0 / 1.01 GB, free: 2.824 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003398/0.01166, allocations: 103.9 kB / 1.01 GB, free: 2.723 MB / 0.9636 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.003114/0.01478, allocations: 3.446 MB / 1.013 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.01508, allocations: 171.8 kB / 1.013 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01508, allocations: 0 / 1.013 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.01513, allocations: 51.84 kB / 1.013 GB, free: 15.01 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.01545, allocations: 53.88 kB / 1.013 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.01842, allocations: 3.511 MB / 1.017 GB, free: 11.32 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.01854, allocations: 207.4 kB / 1.017 GB, free: 11.1 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.01864, allocations: 54.28 kB / 1.017 GB, free: 11.05 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.996e-05/0.01874, allocations: 76.47 kB / 1.017 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of SimCode: time 1.323e-06/0.01874, allocations: 0 / 1.017 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.04259, allocations: 11.84 MB / 1.029 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.73/6.773, allocations: 13.36 kB / 1.029 GB, free: 15.35 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.629296481609344]