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.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.00138/0.00138, allocations: 109 kB / 17.54 MB, free: 4.746 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.001338/0.001338, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.263/1.263, allocations: 225.6 MB / 249.3 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.449/2.449, allocations: 476.7 MB / 0.7628 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.CorrectedNFactors,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 63.91 kB / 1.107 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6939/0.6957, allocations: 168.7 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002327/0.698, allocations: 1.616 MB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.6992, allocations: 0.9215 MB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.161e-05/0.6992, allocations: 6.219 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.6995, allocations: 67.38 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003921/0.6998, allocations: 142.7 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.152e-05/0.6999, allocations: 7.109 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.7002, allocations: 361.2 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.7003, allocations: 13.06 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.7005, allocations: 149.1 kB / 1.275 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.7007, allocations: 136.5 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.7007, allocations: 15.81 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000636/0.7013, allocations: 0.5377 MB / 1.275 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.7014, allocations: 48.66 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.7015, allocations: 138.5 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.7027, allocations: 0.8427 MB / 1.276 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.7027, allocations: 1 kB / 1.276 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7027, allocations: 4 kB / 1.276 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.7027, allocations: 0 / 1.276 GB, free: 5.098 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.001369/0.7041, allocations: 0.6602 MB / 1.277 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.7041, allocations: 9.125 kB / 1.277 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.168e-05/0.7041, allocations: 39.73 kB / 1.277 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.7042, allocations: 35.3 kB / 1.277 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.7046, allocations: 383.9 kB / 1.277 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.7046, allocations: 6.219 kB / 1.277 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.7046, allocations: 4.906 kB / 1.277 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.7047, allocations: 95.88 kB / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.7047, allocations: 7.625 kB / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.7048, allocations: 4 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.7048, allocations: 0.8438 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.883e-05/0.7048, allocations: 66.45 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.7051, allocations: 333.8 kB / 1.278 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.648e-05/0.7052, allocations: 112.3 kB / 1.278 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.282e-05/0.7053, allocations: 60.31 kB / 1.278 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.7053, allocations: 1.062 kB / 1.278 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.7053, allocations: 48.47 kB / 1.278 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.7053, allocations: 1.031 kB / 1.278 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003/0.7056, allocations: 185.7 kB / 1.278 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.7057, allocations: 133.4 kB / 1.278 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.7062, allocations: 0.5033 MB / 1.279 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.7062, allocations: 26.83 kB / 1.279 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.7063, allocations: 160.8 kB / 1.279 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.7063, allocations: 19.52 kB / 1.279 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/0.7064, allocations: 52.8 kB / 1.279 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.694e-05/0.7064, allocations: 341.3 kB / 1.279 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.7066, allocations: 101 kB / 1.279 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.7067, allocations: 165.4 kB / 1.28 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.707, allocations: 234.7 kB / 1.28 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.707, allocations: 1.219 kB / 1.28 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003439/0.7073, allocations: 294.6 kB / 1.28 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.7073, allocations: 7.203 kB / 1.28 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7073, allocations: 0 / 1.28 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.7073, allocations: 4.656 kB / 1.28 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.7075, allocations: 24.83 kB / 1.28 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.7075, allocations: 4.656 kB / 1.28 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.7076, allocations: 20.38 kB / 1.28 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.7076, allocations: 4.156 kB / 1.28 GB, free: 2.25 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.0001158/0.7077, allocations: 183.1 kB / 1.28 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.7078, allocations: 38.44 kB / 1.28 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.708, allocations: 179.4 kB / 1.281 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.708, allocations: 5.328 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.708, allocations: 1.688 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.7081, allocations: 6.156 kB / 1.281 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.7083, allocations: 296.1 kB / 1.281 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7083, allocations: 1.156 kB / 1.281 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.108e-05/0.7083, allocations: 22.75 kB / 1.281 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7083, allocations: 1.688 kB / 1.281 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.7083, allocations: 4.078 kB / 1.281 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7084, allocations: 0 / 1.281 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7084, allocations: 1.781 kB / 1.281 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.7085, allocations: 189.4 kB / 1.281 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.7086, allocations: 138.2 kB / 1.281 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.7087, allocations: 6.578 kB / 1.281 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.7088, allocations: 13.05 kB / 1.281 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.7088, allocations: 13.98 kB / 1.281 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.7088, allocations: 4.656 kB / 1.281 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003443/0.7092, allocations: 377.3 kB / 1.282 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7092, allocations: 0 / 1.282 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006331/0.7098, allocations: 102 kB / 1.282 GB, free: 1.312 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.004356/0.7142, allocations: 3.435 MB / 1.285 GB, free: 344 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002685/0.7144, allocations: 163.6 kB / 1.285 GB, free: 296 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.7144, allocations: 2.875 kB / 1.285 GB, free: 296 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.087e-05/0.7145, allocations: 48.48 kB / 1.285 GB, free: 280 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.7148, allocations: 64.02 kB / 1.285 GB, free: 252 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.7188, allocations: 3.496 MB / 1.289 GB, free: 14.28 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.7192, allocations: 0.8132 MB / 1.29 GB, free: 13.56 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.7193, allocations: 48.56 kB / 1.29 GB, free: 13.56 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.7195, allocations: 84.58 kB / 1.29 GB, free: 13.5 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/0.7195, allocations: 0 / 1.29 GB, free: 13.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/0.7555, allocations: 10.73 MB / 1.3 GB, free: 12.58 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.535/8.291, allocations: 7.297 kB / 1.3 GB, free: 12.58 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 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.csv","/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] "Warning: Resultfile and Reference have different end time points! Reffile[501]=31536000.000000 File[7]=75686.400000 " [Timeout remaining time 300] "" Variables in the reference:time,TSoi[1].T,TSoi[2].T,TSoi[3].T,TSoi[4].T Variables in the result:time,TSoi[1].T,TSoi[2].T,TSoi[3].T,TSoi[4].T,TSoi[1].cliCon.TSurAmp [Calling sys.exit(0), Time elapsed: 413.4708798749998]