Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001398/0.001398, allocations: 107.2 kB / 17.54 MB, free: 4.641 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.001389/0.001389, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.301/1.301, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.316/2.316, allocations: 443.5 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 71.88 kB / 1.059 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2537, allocations: 160.7 MB / 1.216 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002668/0.2563, allocations: 1.603 MB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.2577, allocations: 0.9307 MB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/0.2578, allocations: 0 / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.2581, allocations: 63.64 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004262/0.2585, allocations: 139.3 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.325e-05/0.2585, allocations: 11.98 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.2589, allocations: 362.3 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.259, allocations: 16.75 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.2592, allocations: 143.4 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.2594, allocations: 139.4 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.997e-05/0.2595, allocations: 16 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006676/0.2601, allocations: 0.528 MB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.069e-05/0.2602, allocations: 55.75 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.2603, allocations: 139.2 kB / 1.22 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.2616, allocations: 0.8539 MB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2616, allocations: 0 / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2616, allocations: 0 / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.2616, allocations: 0 / 1.22 GB, free: 10.92 MB / 0.9669 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.001289/0.2629, allocations: 0.6613 MB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2629, allocations: 12.03 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.2629, allocations: 30.75 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/0.263, allocations: 32.75 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.2635, allocations: 374.6 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.2635, allocations: 4.375 kB / 1.221 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.2635, allocations: 4.375 kB / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.2637, allocations: 105.2 kB / 1.222 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2637, allocations: 0 / 1.222 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.2637, allocations: 0 / 1.222 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2637, allocations: 4 kB / 1.222 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.2638, allocations: 75.84 kB / 1.222 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.2642, allocations: 344 kB / 1.222 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.2643, allocations: 110.4 kB / 1.222 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.974e-05/0.2644, allocations: 63.39 kB / 1.222 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.2644, allocations: 4 kB / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.2644, allocations: 38.5 kB / 1.222 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2644, allocations: 0 / 1.222 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003243/0.2647, allocations: 189.7 kB / 1.222 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.2648, allocations: 140.5 kB / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.2654, allocations: 0.4975 MB / 1.223 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.2654, allocations: 33.7 kB / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.2655, allocations: 156.4 kB / 1.223 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.2656, allocations: 15.83 kB / 1.223 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/0.2656, allocations: 49.64 kB / 1.223 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2658, allocations: 346.8 kB / 1.224 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2659, allocations: 99.92 kB / 1.224 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.2661, allocations: 154.8 kB / 1.224 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.2664, allocations: 235.2 kB / 1.224 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2664, allocations: 0 / 1.224 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004042/0.2668, allocations: 301.2 kB / 1.224 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2668, allocations: 8 kB / 1.224 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2668, allocations: 3.984 kB / 1.224 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2668, allocations: 4 kB / 1.224 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.2669, allocations: 19.92 kB / 1.224 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.267, allocations: 0 / 1.224 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.2671, allocations: 27.88 kB / 1.224 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.2671, allocations: 4 kB / 1.224 GB, free: 6.48 MB / 0.9669 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.0001568/0.2673, allocations: 173.8 kB / 1.225 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.2673, allocations: 35.75 kB / 1.225 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.2676, allocations: 183.7 kB / 1.225 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2676, allocations: 0 / 1.225 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2676, allocations: 4 kB / 1.225 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2676, allocations: 0 / 1.225 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.2679, allocations: 297.4 kB / 1.225 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2679, allocations: 0 / 1.225 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.299e-05/0.268, allocations: 23.86 kB / 1.225 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.268, allocations: 4.125 kB / 1.225 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.268, allocations: 8 kB / 1.225 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.268, allocations: 0 / 1.225 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.268, allocations: 4 kB / 1.225 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.2683, allocations: 179.5 kB / 1.225 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.2684, allocations: 148.7 kB / 1.225 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.2684, allocations: 0 / 1.225 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.2686, allocations: 11.98 kB / 1.225 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.2686, allocations: 7.922 kB / 1.225 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.2686, allocations: 4 kB / 1.225 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004247/0.269, allocations: 383 kB / 1.226 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.269, allocations: 0 / 1.226 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004395/0.2695, allocations: 99.88 kB / 1.226 GB, free: 4.84 MB / 0.9669 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.004545/0.274, allocations: 3.446 MB / 1.229 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.2743, allocations: 164.1 kB / 1.229 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2743, allocations: 0 / 1.229 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.953e-05/0.2744, allocations: 43.91 kB / 1.229 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.2747, allocations: 57.86 kB / 1.229 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.2789, allocations: 3.486 MB / 1.233 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.2793, allocations: 0.8181 MB / 1.234 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.2794, allocations: 45.92 kB / 1.234 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.2795, allocations: 79.41 kB / 1.234 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.2795, allocations: 4 kB / 1.234 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.3148, allocations: 10.73 MB / 1.244 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.049, allocations: 20.58 kB / 1.244 GB, free: 1.898 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 13.193781067006057]