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.0008396/0.0008396, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008266/0.0008266, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8922/0.8922, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.641/1.641, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="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 2.194e-06/2.194e-06, allocations: 0 / 0.9505 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.53e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002191/0.002216, allocations: 1.58 MB / 0.952 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009925/0.003209, allocations: 0.8689 MB / 0.9528 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.003277, allocations: 7.938 kB / 0.9529 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.003493, allocations: 51.69 kB / 0.9529 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.003888, allocations: 151.1 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 2.811e-05/0.003916, allocations: 7.984 kB / 0.9531 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.004202, allocations: 382.1 kB / 0.9534 GB, free: 500 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.004247, allocations: 12.94 kB / 0.9534 GB, free: 484 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.004522, allocations: 203.4 kB / 0.9536 GB, free: 280 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.004668, allocations: 127.7 kB / 0.9537 GB, free: 152 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.004692, allocations: 16 kB / 0.9538 GB, free: 136 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004531/0.005145, allocations: 484.8 kB / 0.9542 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.02e-05/0.005225, allocations: 55.62 kB / 0.9543 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.262e-05/0.005318, allocations: 83.77 kB / 0.9544 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009391/0.006257, allocations: 0.9008 MB / 0.9552 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.006259, allocations: 0 / 0.9552 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.323e-06/0.006261, allocations: 3.938 kB / 0.9552 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.006265, allocations: 0 / 0.9552 GB, free: 14.6 MB / 0.9167 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.0009393/0.007205, allocations: 0.5976 MB / 0.9558 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.007242, allocations: 8.031 kB / 0.9558 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.007274, allocations: 30.75 kB / 0.9559 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.007321, allocations: 32.75 kB / 0.9559 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.007661, allocations: 320 kB / 0.9562 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.007672, allocations: 4.375 kB / 0.9562 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.007686, allocations: 12.38 kB / 0.9562 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.007805, allocations: 89.64 kB / 0.9563 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.007813, allocations: 4.125 kB / 0.9563 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.007824, allocations: 12.12 kB / 0.9563 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.007829, allocations: 0 / 0.9563 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.0079, allocations: 63.92 kB / 0.9564 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.008146, allocations: 291.1 kB / 0.9567 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.126e-05/0.008238, allocations: 102.4 kB / 0.9568 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.415e-05/0.008302, allocations: 67.45 kB / 0.9568 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.008317, allocations: 4 kB / 0.9568 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.008341, allocations: 38.5 kB / 0.9569 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.008342, allocations: 0 / 0.9569 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0002555/0.008598, allocations: 185.2 kB / 0.957 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.008651, allocations: 136.5 kB / 0.9572 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003763/0.009027, allocations: 0.4976 MB / 0.9577 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.009043, allocations: 29.7 kB / 0.9577 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/0.009128, allocations: 160.4 kB / 0.9578 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.009151, allocations: 20.33 kB / 0.9579 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.009202, allocations: 49.7 kB / 0.9579 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.009288, allocations: 342.8 kB / 0.9582 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.927e-05/0.009387, allocations: 103.9 kB / 0.9583 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.009535, allocations: 265.5 kB / 0.9586 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.009727, allocations: 247.2 kB / 0.9588 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.009729, allocations: 0 / 0.9588 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002585/0.009988, allocations: 297.3 kB / 0.9591 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.01, allocations: 11.92 kB / 0.9591 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.01001, allocations: 0 / 0.9591 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.01002, allocations: 7.938 kB / 0.9591 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.817e-05/0.01011, allocations: 15.98 kB / 0.9591 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.01012, allocations: 8 kB / 0.9591 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.036e-05/0.01021, allocations: 23.88 kB / 0.9592 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.01022, allocations: 4 kB / 0.9592 GB, free: 10.25 MB / 0.9167 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.0001241/0.01034, allocations: 177.8 kB / 0.9593 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.01037, allocations: 31.81 kB / 0.9594 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.01059, allocations: 183.6 kB / 0.9595 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.01059, allocations: 7.938 kB / 0.9595 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01059, allocations: 4.125 kB / 0.9596 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.0106, allocations: 0 / 0.9596 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.01076, allocations: 244.5 kB / 0.9598 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01076, allocations: 0 / 0.9598 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.0108, allocations: 12 kB / 0.9598 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01081, allocations: 4 kB / 0.9598 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.01082, allocations: 3.984 kB / 0.9598 GB, free: 9.535 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.01082, allocations: 7.875 kB / 0.9598 GB, free: 9.527 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01082, allocations: 4 kB / 0.9598 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.01098, allocations: 187.4 kB / 0.96 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.238e-05/0.01106, allocations: 55.8 kB / 0.96 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.01108, allocations: 7.953 kB / 0.9601 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.496e-05/0.01115, allocations: 15.92 kB / 0.9601 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.01117, allocations: 11.92 kB / 0.9601 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.01117, allocations: 0 / 0.9601 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002687/0.01144, allocations: 379 kB / 0.9604 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01144, allocations: 0 / 0.9604 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002884/0.01173, allocations: 107.9 kB / 0.9605 GB, free: 8.75 MB / 0.9167 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.002832/0.01456, allocations: 3.442 MB / 0.9639 GB, free: 5.266 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.01478, allocations: 164.1 kB / 0.9641 GB, free: 5.105 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01478, allocations: 0 / 0.9641 GB, free: 5.105 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-05/0.01483, allocations: 47.89 kB / 0.9641 GB, free: 5.059 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.01506, allocations: 64.28 kB / 0.9642 GB, free: 5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.01781, allocations: 3.514 MB / 0.9676 GB, free: 1.359 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.01792, allocations: 207.4 kB / 0.9678 GB, free: 1.141 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.133e-05/0.018, allocations: 49.92 kB / 0.9678 GB, free: 1.09 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.65e-05/0.0181, allocations: 80.47 kB / 0.9679 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of SimCode: time 6.32e-07/0.0181, allocations: 0 / 0.9679 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.04292, allocations: 11.84 MB / 0.9795 GB, free: 5.395 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/7.566, allocations: 13.41 kB / 0.9795 GB, free: 5.387 MB / 0.9323 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/jenkins/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: 11.654954690486193]